diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-02 17:26:54 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-04 22:53:08 -0400 |
commit | f59f3551902268600090c0382068103a09184df0 (patch) | |
tree | aa006e0f33df61b714d68d2931f7a3bc64933fac /tests/testellipsise.c | |
parent | b9b1bf85e19fb31fcff2ab6b0dce8d0fffea7e01 (diff) | |
download | gtk+-f59f3551902268600090c0382068103a09184df0.tar.gz |
Use gtk_window_set_child throughout
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
Diffstat (limited to 'tests/testellipsise.c')
-rw-r--r-- | tests/testellipsise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testellipsise.c b/tests/testellipsise.c index 616caf3969..0e2301625c 100644 --- a/tests/testellipsise.c +++ b/tests/testellipsise.c @@ -119,7 +119,7 @@ main (int argc, char *argv[]) g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); - gtk_container_add (GTK_CONTAINER (window), vbox); + gtk_window_set_child (GTK_WINDOW (window), vbox); combo = gtk_combo_box_text_new (); scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, |