projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b1fe1
)
Wrap gtk-main in Gdk threads lock in unithreaded lisps too
author
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Tue, 12 Jan 2010 10:46:16 +0000
(13:46 +0300)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Tue, 12 Jan 2010 10:46:16 +0000
(13:46 +0300)
gtk/gtk.main_loop_events.lisp
patch
|
blob
|
history
diff --git
a/gtk/gtk.main_loop_events.lisp
b/gtk/gtk.main_loop_events.lisp
index
b26f147
..
6b5b9eb
100644
(file)
--- a/
gtk/gtk.main_loop_events.lisp
+++ b/
gtk/gtk.main_loop_events.lisp
@@
-21,14
+21,9
@@
(defcfun (%gtk-main "gtk_main") :void)
-#+thread-support
(defun gtk-main ()
(with-gdk-threads-lock (%gtk-main)))
-#-thread-support
-(defun gtk-main ()
- (%gtk-main))
-
#+thread-support
(defvar *main-thread* nil)