summaryrefslogtreecommitdiff
path: root/gtk/gtkgesture.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-07-24 11:47:27 +0200
committerCarlos Garnacho <carlosg@gnome.org>2015-07-24 13:44:22 +0200
commit862cac7fe63c712d54936548a245707f2a966e78 (patch)
tree69420969684041451170b01bfaf676cd2db9c306 /gtk/gtkgesture.c
parent9c37fe94d1016d78b593a842674b1cc74932bd64 (diff)
downloadgtk+-862cac7fe63c712d54936548a245707f2a966e78.tar.gz
GtkGesture: minor cleanup
We're not really using the coordinates in that function, we just double check it's not an unrelated event.
Diffstat (limited to 'gtk/gtkgesture.c')
-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);