projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c6229
)
testcalendar: Close window properly
author
Timm Bäder
<mail@baedert.org>
Mon, 27 Jan 2020 13:22:20 +0000
(14:22 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Feb 2020 18:15:59 +0000
(13:15 -0500)
tests/testcalendar.c
patch
|
blob
|
history
diff --git
a/tests/testcalendar.c
b/tests/testcalendar.c
index 6bc4b3690a9b288e987649396c8b86fc9a74d858..98481331a0c6b2e94c2fcbd064781466aaadc2f0 100644
(file)
--- 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);
}