From: Dmitry Kalyanov Date: Mon, 25 Jan 2010 01:15:41 +0000 (+0300) Subject: Add call to leave-gtk-main in gtk-demo:demo X-Git-Url: http://repo.macrolet.net/gitweb/?p=cl-gtk2.git;a=commitdiff_plain;h=1393c0a9351e56d7011b44ae5eadadb8a02f6e4b Add call to leave-gtk-main in gtk-demo:demo --- diff --git a/gtk/gtk.demo.lisp b/gtk/gtk.demo.lisp index 4d80b79..e514969 100644 --- a/gtk/gtk.demo.lisp +++ b/gtk/gtk.demo.lisp @@ -197,6 +197,10 @@ :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 ()