X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/eb69c5e70fb2cb129915355a81b48f8eb58a56a7..584285fba4d518f8d6f581b542ee6b38650ba287:/glib/gobject.lisp diff --git a/glib/gobject.lisp b/glib/gobject.lisp index f908b12..ae5995a 100644 --- a/glib/gobject.lisp +++ b/glib/gobject.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. -;; $Id: gobject.lisp,v 1.52 2006-04-25 22:10:36 espen Exp $ +;; $Id: gobject.lisp,v 1.53 2006-08-16 11:02:46 espen Exp $ (in-package "GLIB") @@ -149,7 +149,8 @@ (defmethod compute-effective-slot-definition-initargs ((class gobject-class) dir (defvar *ignore-setting-construct-only-property* nil) (declaim (special *ignore-setting-construct-only-property*)) -(defmethod compute-slot-reader-function ((slotd effective-property-slot-definition)) +(defmethod compute-slot-reader-function ((slotd effective-property-slot-definition) &optional signal-unbound-p) + (declare (ignore signal-unbound-p)) (if (slot-readable-p slotd) (let* ((type (slot-definition-type slotd)) (pname (slot-definition-pname slotd)) @@ -183,7 +184,8 @@ (defmethod compute-slot-writer-function ((slotd effective-property-slot-definiti (error 'unwritable-slot :name (slot-definition-name slotd) :instance object)))) ((call-next-method)))) -(defmethod compute-slot-reader-function ((slotd effective-user-data-slot-definition)) +(defmethod compute-slot-reader-function ((slotd effective-user-data-slot-definition) &optional signal-unbound-p) + (declare (ignore signal-unbound-p)) (let ((slot-name (slot-definition-name slotd))) #'(lambda (object) (user-data object slot-name))))