From a9406ab0ec715999f794a80a0532b9fbddf36b55 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 5 Oct 2010 21:39:21 +0200 Subject: [PATCH] Add base stock icons statically to save some memory --- midori/sokoke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5