summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-10 00:39:02 +0100
committerinfirit <[email protected]>2014-12-10 00:54:07 +0100
commitd0b8ac17f14837911bc14bebbab07a6c87c9ec80 (patch)
tree967d3ac4be39e8f4a8d9246baeace932a2b67e46
parent60235791595552d071262caba4a054620ddb65d2 (diff)
downloadatril-d0b8ac17f14837911bc14bebbab07a6c87c9ec80.tar.bz2
atril-d0b8ac17f14837911bc14bebbab07a6c87c9ec80.tar.xz
Gtk3: Use gtk_widget_render_icon_pixbuf()
-rw-r--r--cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c1
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c1
-rw-r--r--cut-n-paste/toolbar-editor/egg-toolbar-editor.c1
-rw-r--r--libview/ev-annotation-window.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
index 665bc32a..3c8dfea5 100644
--- a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
+++ b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
@@ -33,6 +33,7 @@
#define GTK_STATE_SELECTED GTK_STATE_FLAG_SELECTED
#define GTK_STATE_ACTIVE GTK_STATE_FLAG_ACTIVE
#define GTK_STATE_NORMAL 0
+#define gtk_widget_render_icon(A,B,C,D) gtk_widget_render_icon_pixbuf(A,B,C)
#endif
enum
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[] = {
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index 7bf8802c..91b0a7b0 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.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
enum {