diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-02 00:51:20 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-04 22:53:07 -0400 |
commit | 67759d4c3ee28bbff9a4ec17f2044822ba732282 (patch) | |
tree | 96f80ce99c575bb0ad3c0560cf117e89dd1059b5 /tests/teststack.c | |
parent | 54b613392bb630108340259c84baac4d518fb444 (diff) | |
download | gtk+-67759d4c3ee28bbff9a4ec17f2044822ba732282.tar.gz |
Use gtk_scrolled_window_set_child throughout
Replace all uses of gtk_container_add on popovers
by gtk_scrolled_window_set_child.
Diffstat (limited to 'tests/teststack.c')
-rw-r--r-- | tests/teststack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/teststack.c b/tests/teststack.c index 3e0affc23f..079a7ff104 100644 --- a/tests/teststack.c +++ b/tests/teststack.c @@ -177,7 +177,7 @@ main (gint argc, tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); - gtk_container_add (GTK_CONTAINER (scrolled_win), tree_view); + gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolled_win), tree_view); w3 = scrolled_win; renderer = gtk_cell_renderer_text_new (); |