[gtk/wip/baedert/for-master: 8/10] testcalendar: Close window properly
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 8/10] testcalendar: Close window properly
- Date: Wed, 29 Jan 2020 09:48:18 +0000 (UTC)
commit ca9e50332fb5d600328c6fe4f49bc8c53e8f2f92
Author: Timm Bäder <mail baedert org>
Date: Mon Jan 27 14:22:20 2020 +0100
testcalendar: Close window properly
tests/testcalendar.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/testcalendar.c b/tests/testcalendar.c
index 545e89aac0..c636ef885e 100644
--- a/tests/testcalendar.c
+++ b/tests/testcalendar.c
@@ -683,6 +683,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]