[gtk/matthiasc/for-master: 8/9] gtk-demo: Fix the sliding puzzle
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 8/9] gtk-demo: Fix the sliding puzzle
- Date: Sat, 28 Mar 2020 04:09:33 +0000 (UTC)
commit e2c327e0254a5ad9a8f43f0ecc1b3c39f3cefc8b
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 28 00:06:14 2020 -0400
gtk-demo: Fix the sliding puzzle
Update for a change in gtk_shortcut_controller_add_shortcut
behavior.
demos/gtk-demo/sliding_puzzle.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/demos/gtk-demo/sliding_puzzle.c b/demos/gtk-demo/sliding_puzzle.c
index 5dcc0351bc..2a606fc2fc 100644
--- a/demos/gtk-demo/sliding_puzzle.c
+++ b/demos/gtk-demo/sliding_puzzle.c
@@ -257,7 +257,6 @@ add_move_binding (GtkShortcutController *controller,
gtk_callback_action_new (puzzle_key_pressed, NULL, NULL),
"(ii)", dx, dy);
gtk_shortcut_controller_add_shortcut (controller, shortcut);
- g_object_unref (shortcut);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]