[Xfce4-commits] [apps/xfce4-screenshooter] 27/38: Replace gdk_cursor_new by gdk_cursor_new_for_display

noreply at xfce.org noreply at xfce.org
Fri Apr 28 03:07:23 CEST 2017


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 25323f94c7408ab2156996d6a6d017a081138cc0
Author: Andre Miranda <andre42m at gmail.com>
Date:   Tue Apr 4 21:55:01 2017 -0300

    Replace gdk_cursor_new by gdk_cursor_new_for_display
---
 lib/screenshooter-capture.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index caaf3d6..b589a4d 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -990,7 +990,8 @@ static GdkPixbuf
   /* Change cursor to cross-hair */
   TRACE ("Set the cursor");
 
-  xhair_cursor = gdk_cursor_new (GDK_CROSSHAIR);
+  xhair_cursor = gdk_cursor_new_for_display (gdk_display_get_default (),
+                                             GDK_CROSSHAIR);
 
   mask = GDK_POINTER_MOTION_MASK |
          GDK_BUTTON_PRESS_MASK |

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list