From f87c11ab0472e8a105c2aaab8ba97886960c141f Mon Sep 17 00:00:00 2001
From: raveit65 <chat-to-me@raveit.de>
Date: Wed, 22 Jun 2016 22:27:28 +0200
Subject: GTK+-3 ev-sidebar-annotations: replace deprecated
 gtk_widget_render_icon

---
 shell/ev-sidebar-annotations.c | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'shell')

diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c
index bba131b8..94fa3092 100644
--- a/shell/ev-sidebar-annotations.c
+++ b/shell/ev-sidebar-annotations.c
@@ -29,6 +29,10 @@
 #include "ev-job-scheduler.h"
 #include "ev-stock-icons.h"
 
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_widget_render_icon(A,B,C,D) gtk_widget_render_icon_pixbuf(A,B,C)
+#endif
+
 enum {
 	PROP_0,
 	PROP_WIDGET
-- 
cgit v1.2.1