summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-02 16:36:42 +0200
committerinfirit <[email protected]>2015-09-06 13:08:32 +0200
commitb8278cd18980f51a64053d334febf2fd5fe4de94 (patch)
treed295e777340fbd2a7321fd3f2131c1b5305390ef
parent4a7304dcb64cd908a2e4e9c907efd5ad40d82a48 (diff)
downloadeom-b8278cd18980f51a64053d334febf2fd5fe4de94.tar.bz2
eom-b8278cd18980f51a64053d334febf2fd5fe4de94.tar.xz
EogScrollView: Use gdk_cursor_new_for_display
gdk_cursor_new() will be deprecated in GTK+ 3.16 and we have the correct display at hand already anyway. taken from: https://git.gnome.org/browse/eog/commit/?id=ab4e432
-rw-r--r--src/eom-scroll-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 66de49a..24f16a7 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -399,7 +399,7 @@ eom_scroll_view_set_cursor (EomScrollView *view, EomScrollViewCursor new_cursor)
gdk_window_set_cursor (gtk_widget_get_window (widget), NULL);
break;
case EOM_SCROLL_VIEW_CURSOR_HIDDEN:
- cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
+ cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);
break;
case EOM_SCROLL_VIEW_CURSOR_DRAG:
cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);