Commit 862cac7f authored by Carlos Garnacho's avatar Carlos Garnacho

GtkGesture: minor cleanup

We're not really using the coordinates in that function, we just
double check it's not an unrelated event.
parent 9c37fe94
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment