Add base stock icons statically to save some memory
This commit is contained in:
parent
1e49e9f95c
commit
a9406ab0ec
1 changed files with 1 additions and 1 deletions
|
@ -1333,7 +1333,7 @@ sokoke_register_stock_items (void)
|
||||||
gtk_icon_factory_add (factory, items[i].stock_id, icon_set);
|
gtk_icon_factory_add (factory, items[i].stock_id, icon_set);
|
||||||
gtk_icon_set_unref (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);
|
gtk_icon_factory_add_default (factory);
|
||||||
g_object_unref (factory);
|
g_object_unref (factory);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue