techee commented on this pull request.
- GtkIconSet *icon_set;
- - icon_set = gtk_icon_factory_lookup_default(stock_id); - - if (icon_set) - return gtk_icon_set_render_icon(icon_set, gtk_widget_get_default_style(), - gtk_widget_get_default_direction(), - GTK_STATE_NORMAL, GTK_ICON_SIZE_MENU, NULL, NULL); - return NULL; -} -#endif - -static GdkPixbuf * -utils_pixbuf_from_path(gchar *path) +static GIcon * +utils_gicon_from_path(gchar *path)
OK, will do.