]> www.fi.muni.cz Git - evince.git/commitdiff
toolbar-editor: Use gtk_widget_render_icon_pixbuf()
authorCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 23 Dec 2010 18:12:25 +0000 (19:12 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 26 Dec 2010 10:38:52 +0000 (11:38 +0100)
cut-n-paste/toolbar-editor/egg-editable-toolbar.c

index 9193120ad220288fda00cc5a1241373ef50b3240..fadfed8d66ce15e8e7718aba7e514606cb6216ed 100644 (file)
@@ -487,8 +487,8 @@ configure_item_cursor (GtkToolItem *item,
                 }
               else if (stock_id)
                 {
-                  pixbuf = gtk_widget_render_icon (widget, stock_id,
-                                                  GTK_ICON_SIZE_LARGE_TOOLBAR, NULL);
+                  pixbuf = gtk_widget_render_icon_pixbuf (widget, stock_id,
+                                                          GTK_ICON_SIZE_LARGE_TOOLBAR);
                 }
               g_free (icon_name);
               g_free (stock_id);