diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-11-29 07:06:33 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-12-13 13:46:02 -0500 |
commit | 18e0eaa9d695c3865e7c868b992bc8738db9d332 (patch) | |
tree | 461fd4a006a112baa6b85b03ff54606900b8ff1e /tests/testexpand.c | |
parent | b8962fcba7617a9c890d389a6e2c6346e7574966 (diff) | |
download | gtk+-18e0eaa9d695c3865e7c868b992bc8738db9d332.tar.gz |
tests: Stop using gtk_widget_show/hide
Diffstat (limited to 'tests/testexpand.c')
-rw-r--r-- | tests/testexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testexpand.c b/tests/testexpand.c index 03b18bebc3..9929c8a3d2 100644 --- a/tests/testexpand.c +++ b/tests/testexpand.c @@ -102,7 +102,7 @@ create_box_window (void) gtk_label_new ("VBox 3 Bottom")); gtk_window_set_child (GTK_WINDOW (window), box1); - gtk_widget_show (window); + gtk_window_present (GTK_WINDOW (window)); } static void @@ -154,7 +154,7 @@ create_grid_window (void) gtk_grid_attach (GTK_GRID (grid), colorbox, 1, 2, 1, 1); gtk_window_set_child (GTK_WINDOW (window), grid); - gtk_widget_show (window); + gtk_window_present (GTK_WINDOW (window)); } int |