mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
parent
8780f50e7e
commit
8e0ba37866
@ -251,6 +251,8 @@ puzzle_button_pressed (GtkGestureClick *gesture,
|
||||
{
|
||||
gtk_widget_error_bell (grid);
|
||||
}
|
||||
|
||||
check_solved (grid);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user