[gtk/matthiasc/for-master: 3/18] Drop _gdk_device_query_state
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 3/18] Drop _gdk_device_query_state
- Date: Wed, 26 Aug 2020 21:56:50 +0000 (UTC)
commit 84355ccbff0b4a0dc38e5fab574be3b56f90a9a7
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]