summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkgesture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index 826b741ab1..15111c5522 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -417,9 +417,8 @@ _gtk_gesture_update_point (GtkGesture *gesture,
GdkDevice *device;
gboolean existed;
PointData *data;
- gdouble x, y;
- if (!gdk_event_get_coords (event, &x, &y))
+ if (!gdk_event_get_coords (event, NULL, NULL))
return FALSE;
device = gdk_event_get_device (event);