diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-11 19:27:41 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-11 19:27:41 +0500 |
commit | 1d2af907fcdd642ab27cafc864684e042f8b6a6d (patch) | |
tree | 6b8b2de0d857d0773fb4d50f29f54dfe0fa88b42 /tests/teststack.c | |
parent | b2da99fd4ec0558b3ddcb99b079bc73b9a509619 (diff) | |
download | gtk+-1d2af907fcdd642ab27cafc864684e042f8b6a6d.tar.gz |
tests: Fix teststack "add icon" button
Diffstat (limited to 'tests/teststack.c')
-rw-r--r-- | tests/teststack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/teststack.c b/tests/teststack.c index 00b21226a4..dbbb219467 100644 --- a/tests/teststack.c +++ b/tests/teststack.c @@ -37,7 +37,7 @@ toggle_icon_name (GtkWidget *button, gpointer data) gboolean active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)); GtkStackPage *page; - page = gtk_stack_get_page (GTK_STACK (gtk_widget_get_parent (button)), button); + page = gtk_stack_get_page (GTK_STACK (stack), w1); g_object_set (page, "icon-name", active ? "edit-find-symbolic" : NULL, NULL); } |