summaryrefslogtreecommitdiff
path: root/tests/testiconview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-04 12:44:55 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-04 12:44:55 -0500
commit51207489813ebef7f143dcded70fab4a3edff612 (patch)
treee45da36bd09946f2dc21d44ab78510bf28c6c6c4 /tests/testiconview.c
parent25e199e7b789894f020ec740ff4a9419207f6a61 (diff)
downloadgtk+-51207489813ebef7f143dcded70fab4a3edff612.tar.gz
Drop GtkButtonBox
This widget does not seem worth keeping, and we want to get rid of child properties.
Diffstat (limited to 'tests/testiconview.c')
-rw-r--r--tests/testiconview.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testiconview.c b/tests/testiconview.c
index 576133ad33..87250d57a0 100644
--- a/tests/testiconview.c
+++ b/tests/testiconview.c
@@ -539,8 +539,8 @@ main (gint argc, gchar **argv)
gtk_paned_add2 (GTK_PANED (paned), scrolled_window);
- bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), GTK_BUTTONBOX_START);
+ bbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_widget_set_halign (bbox, GTK_ALIGN_START);
gtk_container_add (GTK_CONTAINER (vbox), bbox);
button = gtk_button_new_with_label ("Add some");
@@ -563,8 +563,8 @@ main (gint argc, gchar **argv)
g_signal_connect (button, "clicked", G_CALLBACK (swap_rows), icon_list);
gtk_container_add (GTK_CONTAINER (bbox), button);
- bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), GTK_BUTTONBOX_START);
+ bbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_widget_set_halign (bbox, GTK_ALIGN_START);
gtk_container_add (GTK_CONTAINER (vbox), bbox);
button = gtk_button_new_with_label ("Select all");