diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-07-24 11:47:27 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-07-24 13:44:22 +0200 |
commit | 862cac7fe63c712d54936548a245707f2a966e78 (patch) | |
tree | 69420969684041451170b01bfaf676cd2db9c306 /gtk/gtkgesture.c | |
parent | 9c37fe94d1016d78b593a842674b1cc74932bd64 (diff) | |
download | gtk+-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.c | 3 |
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); |