diff options
Diffstat (limited to 'src/eom-print-preview.c')
-rw-r--r-- | src/eom-print-preview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eom-print-preview.c b/src/eom-print-preview.c index dd8dba2..ba45f8a 100644 --- a/src/eom-print-preview.c +++ b/src/eom-print-preview.c @@ -977,7 +977,11 @@ motion_notify_event_cb (GtkWidget *widget, GDK_FLEUR); gdk_window_set_cursor (gtk_widget_get_window (widget), cursor); +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif } else { gdk_window_set_cursor (gtk_widget_get_window (widget), NULL); |