]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/toolbar-editor/egg-editable-toolbar.c
toolbar-editor: Use gtk_widget_render_icon_pixbuf()
[evince.git] / 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);