From a6c54669007f3932d6e2813e618bb106579fd28f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 Feb 2020 22:24:47 -0500 Subject: Stop using gtk_main and gtk_main_quit Replace these calls with direct use of GMainContext api. --- tests/testtoolbar2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/testtoolbar2.c') diff --git a/tests/testtoolbar2.c b/tests/testtoolbar2.c index 4b1b24e0fd..47174d9b49 100644 --- a/tests/testtoolbar2.c +++ b/tests/testtoolbar2.c @@ -34,7 +34,8 @@ int main (int argc, char *argv[]) gtk_widget_show (GTK_WIDGET (window)); - gtk_main (); + while (TRUE) + g_main_context_iteration (NULL, TRUE); return 0; } -- cgit v1.2.1