summaryrefslogtreecommitdiff
path: root/libview/ev-annotation-window.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-10 00:34:32 +0100
committerinfirit <[email protected]>2014-12-10 00:54:06 +0100
commit60235791595552d071262caba4a054620ddb65d2 (patch)
tree177494d790a041615eb92106fb1821af1bfbc232 /libview/ev-annotation-window.c
parent9d8cec277b8f59b877eb0a7ac8417dac833b7777 (diff)
downloadatril-60235791595552d071262caba4a054620ddb65d2.tar.bz2
atril-60235791595552d071262caba4a054620ddb65d2.tar.xz
Gtk3: Don't use gdk_cursor_unref()
Diffstat (limited to 'libview/ev-annotation-window.c')
-rw-r--r--libview/ev-annotation-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index be91cdc6..7bf8802c 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -28,6 +28,10 @@
#include "ev-view-marshal.h"
#include "ev-document-misc.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gdk_cursor_unref g_object_unref
+#endif
+
enum {
PROP_0,
PROP_ANNOTATION,