[gtk+] gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs



commit 9072be16a4b5e5a800f6f3207f7c2531a366c6b6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Jul 30 11:11:16 2013 +0800

    gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs
    
    ...this was split into two commits as this source file has different
    line endings (for some reason) from the other GDK-Win32 source files that
    were updated in the quest to refrain from using deprecated APIs

 gdk/win32/gdkdevice-virtual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c
index 028a8f5..8a77ebf 100644
--- a/gdk/win32/gdkdevice-virtual.c
+++ b/gdk/win32/gdkdevice-virtual.c
@@ -180,7 +180,7 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device,
   if (hcursor != NULL)
     {
       /* If the pointer is over our window, set new cursor */
-      GdkWindow *curr_window = gdk_window_get_pointer (window, NULL, NULL, NULL);
+      GdkWindow *curr_window = gdk_window_get_device_position (window, device, NULL, NULL, NULL);
 
       if (curr_window == window ||
           (curr_window && window == gdk_window_get_toplevel (curr_window)))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]