From 3a727eed7a08e37109d380670e3ac4e1ad6eafb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 27 Jan 2020 14:22:20 +0100 Subject: [PATCH] testcalendar: Close window properly --- tests/testcalendar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testcalendar.c b/tests/testcalendar.c index 6bc4b3690a..98481331a0 100644 --- a/tests/testcalendar.c +++ b/tests/testcalendar.c @@ -656,6 +656,7 @@ create_calendar(void) gtk_window_set_default_widget (GTK_WINDOW (window), button); gtk_window_set_default_size (GTK_WINDOW (window), 600, 0); + g_signal_connect (window, "close-request", G_CALLBACK (gtk_main_quit), NULL); gtk_widget_show (window); }