diff options
Diffstat (limited to 'tests/testorientable.c')
-rw-r--r-- | tests/testorientable.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testorientable.c b/tests/testorientable.c index 6ac6988ca8..f997c9209a 100644 --- a/tests/testorientable.c +++ b/tests/testorientable.c @@ -62,22 +62,22 @@ main (int argc, char **argv) box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); orientables = g_list_prepend (orientables, box); gtk_grid_attach (GTK_GRID (grid), box, 0, 1, 1, 1); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkBox 1")); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkBox 2")); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkBox 3")); /* GtkButtonBox */ box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); orientables = g_list_prepend (orientables, box); gtk_grid_attach (GTK_GRID (grid), box, 1, 1, 1, 1); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkButtonBox 1")); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkButtonBox 2")); - gtk_box_pack_start (GTK_BOX (box), + gtk_container_add (GTK_CONTAINER (box), gtk_button_new_with_label ("GtkButtonBox 3")); /* GtkSeparator */ |