]> spindle.queued.net Git - midori/commitdiff
Add base stock icons statically to save some memory
authorChristian Dywan <christian@twotoasts.de>
Tue, 5 Oct 2010 19:39:21 +0000 (21:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 5 Oct 2010 19:43:34 +0000 (21:43 +0200)
midori/sokoke.c

index bea5a670b15cf7e8f1352a6ad991b39ec0985cd7..caac7f1ab28270fe5bae58709fb938b29c4c4926 100644 (file)
@@ -1333,7 +1333,7 @@ sokoke_register_stock_items (void)
         gtk_icon_factory_add (factory, items[i].stock_id, icon_set);
         gtk_icon_set_unref (icon_set);
     }
-    gtk_stock_add ((GtkStockItem*)items, G_N_ELEMENTS (items));
+    gtk_stock_add_static ((GtkStockItem*)items, G_N_ELEMENTS (items));
     gtk_icon_factory_add_default (factory);
     g_object_unref (factory);