From aa59c9d0fb2fba0155e6e2b73e6b0b388bd7ac5c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 23 Dec 2010 19:12:25 +0100 Subject: [PATCH] toolbar-editor: Use gtk_widget_render_icon_pixbuf() --- cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index 5e75ba82..349daf00 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -381,8 +381,8 @@ event_box_realize_cb (GtkWidget *widget, GtkImage *icon) GdkPixbuf *pixbuf; gtk_image_get_stock (icon, &stock_id, NULL); - 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); gtk_drag_source_set_icon_pixbuf (widget, pixbuf); g_object_unref (pixbuf); } -- 2.43.5