From 60235791595552d071262caba4a054620ddb65d2 Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 10 Dec 2014 00:34:32 +0100 Subject: Gtk3: Don't use gdk_cursor_unref() --- libview/ev-view.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libview/ev-view.c') diff --git a/libview/ev-view.c b/libview/ev-view.c index 13ad9555..f19b40d0 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -45,6 +45,10 @@ #include "ev-view-private.h" #include "ev-view-type-builtins.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gdk_cursor_unref g_object_unref +#endif + #define EV_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_VIEW, EvViewClass)) #define EV_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_VIEW)) #define EV_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_VIEW, EvViewClass)) -- cgit v1.2.1