projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32cec6c
)
testlist2: quit on window close
author
Timm Bäder
<mail@baedert.org>
Sun, 8 Sep 2019 08:21:50 +0000
(10:21 +0200)
committer
Timm Bäder
<mail@baedert.org>
Mon, 9 Sep 2019 15:36:27 +0000
(17:36 +0200)
tests/testlist2.c
patch
|
blob
|
history
diff --git
a/tests/testlist2.c
b/tests/testlist2.c
index 770bcda113357163910a684d96b8ffb2facb2f32..c329f06fe580bbff0cc25b52d5217af463129133 100644
(file)
--- a/
tests/testlist2.c
+++ b/
tests/testlist2.c
@@
-120,6
+120,7
@@
int main (int argc, char *argv[])
gtk_list_box_insert (GTK_LIST_BOX (list), row, -1);
}
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
gtk_widget_show (window);
gtk_main ();