gtk-demo: Fixes for the sliding puzzle

We were calling check_solved only for key presses,
meaning you could never solve the puzzle with the
mouse.
This commit is contained in:
Matthias Clasen 2020-05-31 11:02:36 -04:00
parent 8780f50e7e
commit 8e0ba37866

View File

@ -251,6 +251,8 @@ puzzle_button_pressed (GtkGestureClick *gesture,
{
gtk_widget_error_bell (grid);
}
check_solved (grid);
}
static void