From: Christian Dywan Date: Tue, 5 Oct 2010 19:39:21 +0000 (+0200) Subject: Add base stock icons statically to save some memory X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9406ab0ec715999f794a80a0532b9fbddf36b55;p=midori Add base stock icons statically to save some memory --- diff --git a/midori/sokoke.c b/midori/sokoke.c index bea5a670..caac7f1a 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -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);