+2009-09-17 Jim Evins <evins@snaught.com>
+
+ * src/stock.c: (add_icons), (add_button_icon):
+ Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
+ Patch provided by Christian Persch <chpe@gnome.org>.
+
2009-09-09 Jim Evins <evins@snaught.com>
* configure.in:
gtk_icon_source_set_size_wildcarded (icon_source, FALSE);
gtk_icon_source_set_size (icon_source, GTK_ICON_SIZE_MENU);
gtk_icon_set_add_source (icon_set, icon_source);
- g_free (icon_source);
+ gtk_icon_source_free (icon_source);
}
/* Now associate icon set with stock id */
gtk_icon_source_set_size_wildcarded (icon_source, FALSE);
gtk_icon_source_set_size (icon_source, GTK_ICON_SIZE_BUTTON);
gtk_icon_set_add_source (icon_set, icon_source);
- g_free (icon_source);
+ gtk_icon_source_free (icon_source);
/* Now associate icon set with stock id */
gtk_icon_factory_add (factory, stock_id, icon_set);