button: Use gtk_widget_contains()

This commit is contained in:
Benjamin Otte 2017-11-01 20:50:33 +01:00
parent 9b0d9aa7a6
commit b6e0c9392a

View File

@ -331,7 +331,7 @@ touch_release_in_button (GtkButton *button)
gdk_event_free (event);
if (gtk_widget_contains (GTK_WIDGET (button), x, y));
if (gtk_widget_contains (GTK_WIDGET (button), x, y))
return TRUE;
return FALSE;