summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-13 21:03:21 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-13 22:24:06 -0400
commit8a13d18655e337dc3c11860533e357c022b08b21 (patch)
treeea4f1be5a51fc32663a57e2dddfe14c9fd16b531 /gdk/gdkdevice.c
parent9786185cc0fe7c2de64a5fbc25ec29879ab3f3ff (diff)
downloadgtk+-8a13d18655e337dc3c11860533e357c022b08b21.tar.gz
Drop gdk_device_get_position
Convert the last user to _gdk_device_query_state and drop this unused internal api.
Diffstat (limited to 'gdk/gdkdevice.c')
-rw-r--r--gdk/gdkdevice.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index a6a545656b..d812290b9f 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -476,25 +476,6 @@ gdk_device_get_property (GObject *object,
}
}
-/*
- * gdk_device_get_position:
- * @device: pointer device to query status about.
- * @x: (out): location to store root window X coordinate of @device
- * @y: (out): location to store root window Y coordinate of @device
- *
- * Gets the current location of @device in double precision.
- */
-void
-gdk_device_get_position (GdkDevice *device,
- double *x,
- double *y)
-{
- g_return_if_fail (GDK_IS_DEVICE (device));
- g_return_if_fail (device->source != GDK_SOURCE_KEYBOARD);
-
- _gdk_device_query_state (device, NULL, NULL, x, y, NULL);
-}
-
/**
* gdk_device_get_surface_at_position:
* @device: pointer #GdkDevice to query info to.