From: espen Date: Wed, 26 Apr 2006 13:00:28 +0000 (+0000) Subject: Removed duplicated definition X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/commitdiff_plain/40232429c9519ae7aa0ed51accc6ec1038766687 Removed duplicated definition --- diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index 4eb3604..da4c98a 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gtk.lisp,v 1.62 2006-04-26 12:33:52 espen Exp $ +;; $Id: gtk.lisp,v 1.63 2006-04-26 13:00:28 espen Exp $ (in-package "GTK") @@ -106,20 +106,6 @@ (defun clg-init-with-threading (&optional display) (gdk:with-global-lock (main))) :name "gtk event loop"))) -#+sbcl -(defun clg-init-with-threading (&optional display) - "Initializes the system and starts the event handling" - (unless (gdk:display-get-default) - (gdk:gdk-init) - (gdk:threads-set-lock-functions) - (unless (gtk-init) - (error "Initialization of GTK+ failed.")) - (sb-thread:make-thread - #'(lambda () - (gdk:display-open display) - (gdk:with-global-lock (main))) - :name "gtk event loop"))) - ;;; Generic functions