diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-09 08:26:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-11 22:38:21 -0400 |
commit | 2a24b8c6534b58051135570399cba8a6b04d34ea (patch) | |
tree | c3b4690ed396ab2b2ca162641bd2008d0bd7630e /tests/testselectionmode.c | |
parent | 665edcba53bf2f2e854a95cdcc52a72c16a1a427 (diff) | |
download | gtk+-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.c | 4 |
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 |