summaryrefslogtreecommitdiff
path: root/tests/testellipsise.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/testellipsise.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/testellipsise.c')
-rw-r--r--tests/testellipsise.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testellipsise.c b/tests/testellipsise.c
index 6a8263a9ce..70f5be1385 100644
--- a/tests/testellipsise.c
+++ b/tests/testellipsise.c
@@ -143,9 +143,9 @@ main (int argc, char *argv[])
gtk_widget_set_vexpand (overlay, TRUE);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_container_add (GTK_CONTAINER (vbox), combo);
- gtk_container_add (GTK_CONTAINER (vbox), scale);
- gtk_container_add (GTK_CONTAINER (vbox), overlay);
+ gtk_box_append (GTK_BOX (vbox), combo);
+ gtk_box_append (GTK_BOX (vbox), scale);
+ gtk_box_append (GTK_BOX (vbox), overlay);
g_object_set_data (G_OBJECT (label), "combo", combo);