gesture: Fix gcc constness warning

This commit is contained in:
Benjamin Otte 2017-12-14 03:01:00 +01:00
parent d7f34874ab
commit 38d8fa0b6a

View File

@ -531,7 +531,7 @@ _gtk_gesture_update_point (GtkGesture *gesture,
if (data->event)
g_object_unref (data->event);
data->event = g_object_ref (event);
data->event = g_object_ref ((gpointer) event);
_update_touchpad_deltas (data);
_update_widget_coordinates (gesture, data);