From d0b8ac17f14837911bc14bebbab07a6c87c9ec80 Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 10 Dec 2014 00:39:02 +0100 Subject: Gtk3: Use gtk_widget_render_icon_pixbuf() --- cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 1 + cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 1 + 2 files changed, 2 insertions(+) (limited to 'cut-n-paste/toolbar-editor') diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index a468cccb..480abc14 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -37,6 +37,7 @@ static GdkPixbuf * new_separator_pixbuf (void); #if GTK_CHECK_VERSION (3, 0, 0) #define gdk_cursor_unref g_object_unref +#define gtk_widget_render_icon(A,B,C,D) gtk_widget_render_icon_pixbuf(A,B,C) #endif static const GtkTargetEntry dest_drag_types[] = { diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index 8bc6110c..e4f6ee8d 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -30,6 +30,7 @@ #if GTK_CHECK_VERSION (3, 0, 0) #define gdk_cursor_unref g_object_unref +#define gtk_widget_render_icon(A,B,C,D) gtk_widget_render_icon_pixbuf(A,B,C) #endif static const GtkTargetEntry dest_drag_types[] = { -- cgit v1.2.1