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:
7d18582
)
gobject:define-g-object-class: do not insert g-object as a superclass => fixes circul...
author
Kalyanov Dmitry
<Kalyanov.Dmitry@gmail.com>
Thu, 8 Oct 2009 14:21:07 +0000
(18:21 +0400)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Thu, 8 Oct 2009 17:46:30 +0000
(21:46 +0400)
glib/gobject.generating.lisp
patch
|
blob
|
history
diff --git
a/glib/gobject.generating.lisp
b/glib/gobject.generating.lisp
index
0abcfc9
..
f9283a3
100755
(executable)
--- a/
glib/gobject.generating.lisp
+++ b/
glib/gobject.generating.lisp
@@
-167,7
+167,7
@@
(&rest properties))
(setf properties (mapcar #'parse-property properties))
`(progn
- (defclass ,name (,superclass ,@(mapcar #'interface->lisp-class-name interfaces))
+ (defclass ,name (,@(when (and superclass (not (eq superclass 'g-object))) (list superclass)) ,@(mapcar #'interface->lisp-class-name interfaces))
(,@(mapcar (lambda (property) (meta-property->slot name property)) properties))
(:metaclass gobject-class)
(:g-type-name . ,g-type-name)