Added proper protection for multi threaded event handling
authorespen <espen>
Tue, 19 Jun 2007 11:50:55 +0000 (11:50 +0000)
committerespen <espen>
Tue, 19 Jun 2007 11:50:55 +0000 (11:50 +0000)
examples/testcairo.lisp
examples/testdnd.lisp

index f7b6b71..9768b90 100644 (file)
 
 
 (clg-init)
-#?(pkg-config:pkg-exists-p "librsvg-2.0" :atleast-version "2.13.93")
 (rsvg:init)
 
 ;; We need to turn off floating point exceptions, because Cairo is
 #+sbcl(sb-int:set-floating-point-modes :traps nil) 
 #+cmu(ext:set-floating-point-modes :traps nil)
 
-(create-tests)
+(within-main-loop (create-tests))
index 1d7c816..ff6702c 100644 (file)
    :child (create-layout 600 600)))
 
 (clg-init)
-(create-test)
+(within-main-loop (create-test))