[eog] EogScrollView: Use gdk_cursor_new_for_display
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogScrollView: Use gdk_cursor_new_for_display
- Date: Sun, 4 Jan 2015 17:00:37 +0000 (UTC)
commit ab4e432c083275869c744a721b3bb5d37c2ee5fd
Author: Felix Riemann <friemann gnome org>
Date: Sun Jan 4 15:56:45 2015 +0100
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.
src/eog-scroll-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 74e9b27..36741fc 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -414,7 +414,7 @@ eog_scroll_view_set_cursor (EogScrollView *view, EogScrollViewCursor new_cursor)
gdk_window_set_cursor (gtk_widget_get_window (widget), NULL);
break;
case EOG_SCROLL_VIEW_CURSOR_HIDDEN:
- cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
+ cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);
break;
case EOG_SCROLL_VIEW_CURSOR_DRAG:
cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]