Correct type of pointer slot of g-object: release will set it to NIL
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Thu, 29 Oct 2009 12:30:36 +0000 (15:30 +0300)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Thu, 29 Oct 2009 12:30:36 +0000 (15:30 +0300)
glib/gobject.object.high.lisp

index 80399b8..f1cca2e 100644 (file)
@@ -2,7 +2,7 @@
 
 (defclass g-object ()
   ((pointer
-    :type cffi:foreign-pointer
+    :type (or null cffi:foreign-pointer)
     :initarg :pointer
     :accessor pointer
     :initform nil)