chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e9e71e
)
Signaling error in clg-init if running SBCL in Slime with communication style :spawn
author
espen
<espen>
Thu, 16 Feb 2006 19:39:34 +0000
(19:39 +0000)
committer
espen
<espen>
Thu, 16 Feb 2006 19:39:34 +0000
(19:39 +0000)
gtk/gtk.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gtk/gtk.lisp
b/gtk/gtk.lisp
index 05f6c8a68ee273bc9eed56c1814ba599aa58b837..ae4eb10259b47c692699feeff556a50a6f019673 100644
(file)
--- 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.
;; 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.5
2 2006-02-09 22:32:47
espen Exp $
+;; $Id: gtk.lisp,v 1.5
3 2006-02-16 19:39:34
espen Exp $
(in-package "GTK")
(in-package "GTK")
@@
-57,6
+57,11
@@
(defbinding (gtk-init "gtk_parse_args") () boolean
(defun clg-init (&optional display)
"Initializes the system and starts the event handling"
(defun clg-init (&optional display)
"Initializes the system and starts the event handling"
+ #+sbcl(when (and
+ (find-package "SWANK")
+ (eq (symbol-value (find-symbol "*COMMUNICATION-STYLE*" "SWANK")) :spawn))
+ (error "When running clg in Slime the communication style :spawn can not be used. See the README file and <http://common-lisp.net/project/slime/doc/html/slime_45.html> for more information."))
+
(unless (gdk:display-get-default)
(gdk:gdk-init)
(unless (gtk-init)
(unless (gdk:display-get-default)
(gdk:gdk-init)
(unless (gtk-init)