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_5~27 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=df501c4c3f43c01ef9b39ea33086c68068ad4fd1;p=evince.git toolbar-editor: Use gtk_widget_render_icon_pixbuf() --- diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 9193120a..fadfed8d 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -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);