[gtk/matthiasc/for-master: 4/19] Drop _gdk_device_query_state




commit aecbd57462f079e73f584258c083b6413bc5ef27
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 26 15:38:02 2020 -0400

    Drop _gdk_device_query_state
    
    It is now unused.

 gdk/gdkdevice.c        | 16 ----------------
 gdk/gdkdeviceprivate.h |  6 ------
 2 files changed, 22 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index d812290b9f..8b4b27cd82 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -1069,22 +1069,6 @@ _gdk_device_translate_axis (GdkDevice *device,
   return TRUE;
 }
 
-void
-_gdk_device_query_state (GdkDevice        *device,
-                         GdkSurface        *surface,
-                         GdkSurface       **child_surface,
-                         double           *win_x,
-                         double           *win_y,
-                         GdkModifierType  *mask)
-{
-  GDK_DEVICE_GET_CLASS (device)->query_state (device,
-                                              surface,
-                                              child_surface,
-                                              win_x,
-                                              win_y,
-                                              mask);
-}
-
 GdkSurface *
 _gdk_device_surface_at_position (GdkDevice       *device,
                                  double          *win_x,
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h
index 39fdba34f0..af26e8ab84 100644
--- a/gdk/gdkdeviceprivate.h
+++ b/gdk/gdkdeviceprivate.h
@@ -174,12 +174,6 @@ void    _gdk_device_add_physical_device         (GdkDevice *device,
 void    _gdk_device_remove_physical_device      (GdkDevice *device,
                                                  GdkDevice *physical);
 
-void _gdk_device_query_state                  (GdkDevice        *device,
-                                               GdkSurface        *surface,
-                                               GdkSurface       **child_surface,
-                                               double           *win_x,
-                                               double           *win_y,
-                                               GdkModifierType  *mask);
 GdkSurface * _gdk_device_surface_at_position  (GdkDevice        *device,
                                                double           *win_x,
                                                double           *win_y,


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