Add call to leave-gtk-main in gtk-demo:demo
[cl-gtk2.git] / gtk / gtk.demo.lisp
index 4d80b79..e514969 100644 (file)
           :hscrollbar-policy :automatic
           :vscrollbar-policy :automatic
           (:expr (make-demo-text-view))))
+      (connect-signal w "destroy"
+                      (lambda (w)
+                        (declare (ignore w))
+                        (leave-gtk-main)))
       (widget-show w))))
 
 (defun test ()