summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 22:27:28 +0200
committerraveit65 <[email protected]>2016-06-24 20:48:20 +0200
commitf87c11ab0472e8a105c2aaab8ba97886960c141f (patch)
tree95a5cf04227b7118a26d9f8161f1a5df828ee2d0
parenta894d977c6b1a7d18b72666c71f542e96c37106b (diff)
downloadatril-f87c11ab0472e8a105c2aaab8ba97886960c141f.tar.bz2
atril-f87c11ab0472e8a105c2aaab8ba97886960c141f.tar.xz
GTK+-3 ev-sidebar-annotations: replace deprecated gtk_widget_render_icon
-rw-r--r--shell/ev-sidebar-annotations.c4
1 files changed, 4 insertions, 0 deletions
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