summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/sliding_puzzle.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/sliding_puzzle.c')
-rw-r--r--demos/gtk-demo/sliding_puzzle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/sliding_puzzle.c b/demos/gtk-demo/sliding_puzzle.c
index 2cba018d27..3cfb182d88 100644
--- a/demos/gtk-demo/sliding_puzzle.c
+++ b/demos/gtk-demo/sliding_puzzle.c
@@ -228,7 +228,7 @@ puzzle_button_pressed (GtkGestureMultiPress *gesture,
int l, t, i;
int pos;
- child = gtk_widget_pick (grid, x, y, 0);
+ child = gtk_widget_pick (grid, x, y, GTK_PICK_DEFAULT);
if (!child)
{