button: Update to using GdkEvent API

This commit is contained in:
Carlos Garnacho 2017-08-25 16:43:09 +02:00
parent 96e7777198
commit fac9ba0fff

View File

@ -328,7 +328,7 @@ touch_release_in_button (GtkButton *button)
if (!event)
return FALSE;
if (event->type != GDK_TOUCH_END)
if (gdk_event_get_event_type (event) != GDK_TOUCH_END)
{
gdk_event_free (event);
return FALSE;