summaryrefslogtreecommitdiff
path: root/tests/testtreeedit.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-02 00:51:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-04 22:53:07 -0400
commit67759d4c3ee28bbff9a4ec17f2044822ba732282 (patch)
tree96f80ce99c575bb0ad3c0560cf117e89dd1059b5 /tests/testtreeedit.c
parent54b613392bb630108340259c84baac4d518fb444 (diff)
downloadgtk+-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/testtreeedit.c')
-rw-r--r--tests/testtreeedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeedit.c b/tests/testtreeedit.c
index 1a2139c43f..a1d4b3e59c 100644
--- a/tests/testtreeedit.c
+++ b/tests/testtreeedit.c
@@ -358,7 +358,7 @@ main (gint argc, gchar **argv)
"value", PROGRESS_COLUMN,
NULL);
- gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);
+ gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolled_window), tree_view);
gtk_window_set_default_size (GTK_WINDOW (window),
800, 250);