From b8278cd18980f51a64053d334febf2fd5fe4de94 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 2 Sep 2015 16:36:42 +0200 Subject: 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 --- src/eom-scroll-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1