diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-09 20:06:58 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-09 23:12:32 -0500 |
commit | c78971165215ca749af68c3f6f16fb7eca08e142 (patch) | |
tree | a8f70cfce94bc3a2ae00c84f024cca4fef4cf1c9 /testsuite/gtk/grid-layout.c | |
parent | 7eb889c7aa697eeaa6fe95161788354987977f79 (diff) | |
download | gtk+-c78971165215ca749af68c3f6f16fb7eca08e142.tar.gz |
Stop using gtk_main_quit
Stop using gtk_main and gtk_main_quit in tests and
examples. These APIs are on the way out.
Diffstat (limited to 'testsuite/gtk/grid-layout.c')
-rw-r--r-- | testsuite/gtk/grid-layout.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/testsuite/gtk/grid-layout.c b/testsuite/gtk/grid-layout.c index 5c4378a873..58747914e7 100644 --- a/testsuite/gtk/grid-layout.c +++ b/testsuite/gtk/grid-layout.c @@ -150,13 +150,6 @@ test_simple_row (void) lc = gtk_layout_manager_get_layout_child (layout, GTK_WIDGET (child3)); gtk_grid_layout_child_set_left_attach (GTK_GRID_LAYOUT_CHILD (lc), 2); -#if 0 - gtk_widget_show (window); - - g_timeout_add (1000, (GSourceFunc)gtk_main_quit, NULL); - gtk_main (); -#endif - gtk_layout_manager_measure (layout, parent, GTK_ORIENTATION_HORIZONTAL, @@ -250,13 +243,6 @@ test_simple_column (void) lc = gtk_layout_manager_get_layout_child (layout, GTK_WIDGET (child3)); gtk_grid_layout_child_set_top_attach (GTK_GRID_LAYOUT_CHILD (lc), 2); -#if 0 - gtk_widget_show (window); - - g_timeout_add (1000, (GSourceFunc)gtk_main_quit, NULL); - gtk_main (); -#endif - gtk_layout_manager_measure (layout, parent, GTK_ORIENTATION_HORIZONTAL, @@ -379,13 +365,6 @@ test_spans (void) gtk_grid_layout_child_set_top_attach (GTK_GRID_LAYOUT_CHILD (lc), 1); gtk_grid_layout_child_set_left_attach (GTK_GRID_LAYOUT_CHILD (lc), 2); -#if 0 - gtk_widget_show (window); - - g_timeout_add (1000, (GSourceFunc)gtk_main_quit, NULL); - gtk_main (); -#endif - gtk_layout_manager_measure (layout, parent, GTK_ORIENTATION_HORIZONTAL, @@ -502,13 +481,6 @@ test_homogeneous (void) gtk_grid_layout_child_set_top_attach (GTK_GRID_LAYOUT_CHILD (lc), 1); gtk_grid_layout_child_set_left_attach (GTK_GRID_LAYOUT_CHILD (lc), 1); -#if 0 - gtk_widget_show (window); - - g_timeout_add (1000, (GSourceFunc)gtk_main_quit, NULL); - gtk_main (); -#endif - gtk_layout_manager_measure (layout, parent, GTK_ORIENTATION_HORIZONTAL, |