forked from AuroraMiddleware/gtk
button: Update to using GdkEvent API
This commit is contained in:
parent
96e7777198
commit
fac9ba0fff
@ -328,7 +328,7 @@ touch_release_in_button (GtkButton *button)
|
|||||||
if (!event)
|
if (!event)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (event->type != GDK_TOUCH_END)
|
if (gdk_event_get_event_type (event) != GDK_TOUCH_END)
|
||||||
{
|
{
|
||||||
gdk_event_free (event);
|
gdk_event_free (event);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user