diff options
author | raveit65 <[email protected]> | 2015-07-23 20:11:57 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-31 22:35:16 +0200 |
commit | 2d5db548f1362d9d485c726b6cf7a05f69c04257 (patch) | |
tree | 8f30634dcd6d5e93ce8e9dcb932228c4c008ea26 /src/eom-print-preview.c | |
parent | 7dc23854634e8177fb03d403c0f71e9c10830694 (diff) | |
download | eom-2d5db548f1362d9d485c726b6cf7a05f69c04257.tar.bz2 eom-2d5db548f1362d9d485c726b6cf7a05f69c04257.tar.xz |
GTK3: Don't use deprecated gdk_cursor_unref() for gtk+ >=3.0.0
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); |