[gtk+] wayland: Don't use deprecated function: gdk_window_get_pointer



commit 32c9251b1e6075f6fb8ae82294da3a4b89205654
Author: Rob Bradford <rob linux intel com>
Date:   Wed Dec 14 14:27:07 2011 +0000

    wayland: Don't use deprecated function: gdk_window_get_pointer
    
    Replace it with gdk_window_get_device_position.

 gdk/wayland/gdkdevice-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 2a051de..806c568 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -114,7 +114,7 @@ gdk_device_core_get_state (GdkDevice       *device,
 {
   gint x_int, y_int;
 
-  gdk_window_get_pointer (window, &x_int, &y_int, mask);
+  gdk_window_get_device_position (window, device, &x_int, &y_int, mask);
 
   if (axes)
     {



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