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/testsounds.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/testsounds.c')
-rw-r--r-- | tests/testsounds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsounds.c b/tests/testsounds.c index 3a62f69fae..31c65fa31c 100644 --- a/tests/testsounds.c +++ b/tests/testsounds.c @@ -53,11 +53,11 @@ int main (int argc, char *argv[]) button = gtk_button_new_with_label ("Α"); g_signal_connect (button, "clicked", G_CALLBACK (enter), NULL); - gtk_container_add (GTK_CONTAINER (box), button); + gtk_box_append (GTK_BOX (box), button); button = gtk_button_new_with_label ("Ω"); g_signal_connect (button, "clicked", G_CALLBACK (leave), NULL); - gtk_container_add (GTK_CONTAINER (box), button); + gtk_box_append (GTK_BOX (box), button); gtk_window_present (GTK_WINDOW (window)); |