From: Carlos Garcia Campos Date: Thu, 23 Dec 2010 18:12:25 +0000 (+0100) Subject: toolbar-editor: Use gtk_widget_render_icon_pixbuf() X-Git-Tag: EVINCE_2_91_4~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=aa59c9d0fb2fba0155e6e2b73e6b0b388bd7ac5c;p=evince.git toolbar-editor: Use gtk_widget_render_icon_pixbuf() --- 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); }