[gtk] testscale: Properly call gtk_main_quit
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] testscale: Properly call gtk_main_quit
- Date: Fri, 9 Aug 2019 15:15:05 +0000 (UTC)
commit 1c8b746b4299f5d95d036154010f2ec32e78527b
Author: Timm Bäder <mail baedert org>
Date: Fri Aug 9 10:33:52 2019 +0200
testscale: Properly call gtk_main_quit
tests/testscale.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/testscale.c b/tests/testscale.c
index 484bb9c97c..33280dcf37 100644
--- a/tests/testscale.c
+++ b/tests/testscale.c
@@ -118,6 +118,7 @@ int main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Ranges with marks");
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
box1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
flipbox = box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
gtk_widget_set_hexpand (flipbox, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]