summaryrefslogtreecommitdiff
path: root/tests/overlayscroll.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-11-29 07:06:33 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-12-13 13:46:02 -0500
commit18e0eaa9d695c3865e7c868b992bc8738db9d332 (patch)
tree461fd4a006a112baa6b85b03ff54606900b8ff1e /tests/overlayscroll.c
parentb8962fcba7617a9c890d389a6e2c6346e7574966 (diff)
downloadgtk+-18e0eaa9d695c3865e7c868b992bc8738db9d332.tar.gz
tests: Stop using gtk_widget_show/hide
Diffstat (limited to 'tests/overlayscroll.c')
-rw-r--r--tests/overlayscroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/overlayscroll.c b/tests/overlayscroll.c
index bf6783989b..1dd36b0e24 100644
--- a/tests/overlayscroll.c
+++ b/tests/overlayscroll.c
@@ -105,7 +105,7 @@ main (int argc, char *argv[])
sb2 = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, adj);
gtk_box_append (GTK_BOX (box), sb2);
- gtk_widget_show (window);
+ gtk_window_present (GTK_WINDOW (window));
while (!done)
g_main_context_iteration (NULL, TRUE);