mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
testcalendar: Close window properly
This commit is contained in:
parent
64c6229f54
commit
3a727eed7a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user