projects
/
cl-gtk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings for bare struct references in gtk/.
[cl-gtk2.git]
/
gtk
/
gtk.widget.lisp
diff --git
a/gtk/gtk.widget.lisp
b/gtk/gtk.widget.lisp
index
bc4b75c
..
67c0404
100644
(file)
--- a/
gtk/gtk.widget.lisp
+++ b/
gtk/gtk.widget.lisp
@@
-34,6
+34,7
@@
(:allocation allocation-cstruct)
(:window :pointer)
(:parent :pointer))
+(defctype %gtk-widget (:struct %gtk-widget))
(defun widget-state (widget)
(convert-from-foreign (foreign-slot-value (pointer widget) '%gtk-widget :state) 'state-type))