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/testlist4.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/testlist4.c')
-rw-r--r-- | tests/testlist4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlist4.c b/tests/testlist4.c index 96deaf3765..8f4294e2f5 100644 --- a/tests/testlist4.c +++ b/tests/testlist4.c @@ -110,7 +110,7 @@ new_window (GApplication *app) list = gtk_list_box_new (); gtk_list_box_set_selection_mode (GTK_LIST_BOX (list), GTK_SELECTION_NONE); gtk_list_box_set_header_func (GTK_LIST_BOX (list), add_separator, NULL, NULL); - gtk_container_add (GTK_CONTAINER (sw), list); + gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (sw), list); label = gtk_label_new ("No row activated"); gtk_grid_attach (GTK_GRID (grid), label, 0, 1, 1, 1); |