From: Dmitry Kalyanov Date: Sat, 13 Jun 2009 19:25:52 +0000 (+0400) Subject: In make-instance-using-class for gobjects, pass all arguments to (call-next-method... X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=fca774d3fbabdde5f5e5addd9a0b3f737bc2a708;hp=64cc0a46c3dd2bce1b3ea0158e1dc0c35750d0b5;p=cl-gtk2.git In make-instance-using-class for gobjects, pass all arguments to (call-next-method), not just :pointer --- diff --git a/glib/gobject.meta.lisp b/glib/gobject.meta.lisp index 9d6d348..7f42613 100644 --- a/glib/gobject.meta.lisp +++ b/glib/gobject.meta.lisp @@ -177,7 +177,7 @@ (assert (= (length initargs) 2) nil "POINTER can not be combined with other initargs (~A)" initargs) (call-next-method)) (let ((pointer (create-gobject-from-class-and-initargs class initargs))) - (call-next-method class :pointer pointer)))) + (apply #'call-next-method class :pointer pointer initargs)))) (defmethod slot-boundp-using-class ((class gobject-class) object (slot gobject-property-effective-slot-definition)) (handler-case