summaryrefslogtreecommitdiff
path: root/gdk/win32
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/win32
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/win32')
-rw-r--r--gdk/win32/gdkdrag-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c
index 9bb6f91539..73b0933077 100644
--- a/gdk/win32/gdkdrag-win32.c
+++ b/gdk/win32/gdkdrag-win32.c
@@ -1730,7 +1730,7 @@ _gdk_win32_surface_drag_begin (GdkSurface *surface,
GDK_NOTE (DND, g_print ("_gdk_win32_surface_drag_begin\n"));
- gdk_device_get_position (device, &px, &py);
+ _gdk_device_query_state (device, NULL, NULL, &px, &py, NULL);
x_root = round (px + dx);
y_root = round (py + dy);