summaryrefslogtreecommitdiff
path: root/tests/testselectionmode.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-09 08:26:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 22:38:21 -0400
commit2a24b8c6534b58051135570399cba8a6b04d34ea (patch)
treec3b4690ed396ab2b2ca162641bd2008d0bd7630e /tests/testselectionmode.c
parent665edcba53bf2f2e854a95cdcc52a72c16a1a427 (diff)
downloadgtk+-2a24b8c6534b58051135570399cba8a6b04d34ea.tar.gz
Replace most remaining uses of container api
These are all on GtkBox or enumerating children.
Diffstat (limited to 'tests/testselectionmode.c')
-rw-r--r--tests/testselectionmode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testselectionmode.c b/tests/testselectionmode.c
index 65747dbfe8..7157c8ec02 100644
--- a/tests/testselectionmode.c
+++ b/tests/testselectionmode.c
@@ -28,14 +28,14 @@ selectable_row_init (SelectableRow *row)
gtk_widget_set_margin_bottom (row->check, 10);
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), row->box);
- gtk_container_add (GTK_CONTAINER (row->box), row->revealer);
+ gtk_box_append (GTK_BOX (row->box), row->revealer);
gtk_revealer_set_child (GTK_REVEALER (row->revealer), row->check);
}
static void
selectable_row_add (SelectableRow *row, GtkWidget *child)
{
- gtk_container_add (GTK_CONTAINER (row->box), child);
+ gtk_box_append (GTK_BOX (row->box), child);
}
static void