diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-26 08:20:34 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-01-23 19:30:46 -0500 |
commit | bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6 (patch) | |
tree | 6478bd038c42a535caacf65f948892a9d0dfe5e9 /tests/teststack.c | |
parent | 09361e76659bd1951a222cd64537abacc6a6f44a (diff) | |
download | gtk+-bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6.tar.gz |
Stop using gtk_box_pack_end
It might soon go away!
Diffstat (limited to 'tests/teststack.c')
-rw-r--r-- | tests/teststack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/teststack.c b/tests/teststack.c index e5d61eb142..cc75460def 100644 --- a/tests/teststack.c +++ b/tests/teststack.c @@ -127,7 +127,7 @@ main (gint argc, gtk_container_add (GTK_CONTAINER (window), box); switcher = gtk_stack_switcher_new (); - gtk_box_pack_start (GTK_BOX (box), switcher); + gtk_container_add (GTK_CONTAINER (box), switcher); stack = gtk_stack_new (); @@ -141,9 +141,9 @@ main (gint argc, sidebar = gtk_stack_sidebar_new (); gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (sidebar), GTK_STACK (stack)); layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - gtk_box_pack_start (GTK_BOX (layout), sidebar); + gtk_container_add (GTK_CONTAINER (layout), sidebar); gtk_widget_set_hexpand (stack, TRUE); - gtk_box_pack_start (GTK_BOX (layout), stack); + gtk_container_add (GTK_CONTAINER (layout), stack); gtk_container_add (GTK_CONTAINER (box), layout); |