[Xfce4-commits] <midori:master> Add base stock icons statically to save some memory
Christian Dywan
noreply at xfce.org
Tue Oct 5 21:44:07 CEST 2010
Updating branch refs/heads/master
to a9406ab0ec715999f794a80a0532b9fbddf36b55 (commit)
from 1e49e9f95c6420364e47d8db9157a2a39a78130f (commit)
commit a9406ab0ec715999f794a80a0532b9fbddf36b55
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Oct 5 21:39:21 2010 +0200
Add base stock icons statically to save some memory
midori/sokoke.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/sokoke.c b/midori/sokoke.c
index bea5a67..caac7f1 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);
More information about the Xfce4-commits
mailing list