X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/028ac2764f3c4c4209e59ec71259d2c680c1caea..904a688407ead49492d6ac0f3d6b456856608352:/glib/proxy.lisp diff --git a/glib/proxy.lisp b/glib/proxy.lisp index 1463b7e..f989d63 100644 --- a/glib/proxy.lisp +++ b/glib/proxy.lisp @@ -15,7 +15,7 @@ ;; License along with this library; if not, write to the Free Software ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -;; $Id: proxy.lisp,v 1.5 2001/05/29 15:43:44 espen Exp $ +;; $Id: proxy.lisp,v 1.6 2001/10/21 16:55:39 espen Exp $ (in-package "GLIB") @@ -289,12 +289,14 @@ (with-slots (type) slotd (list (if (stringp getter) - (mkbinding getter type class-name) + (let ((getter (mkbinding-late getter type 'pointer))) + #'(lambda (object) + (funcall getter (proxy-location object)))) getter) (if (stringp setter) - (let ((setter (mkbinding setter 'nil class-name type))) + (let ((setter (mkbinding-late setter 'nil 'pointer type))) #'(lambda (value object) - (funcall setter object value))) + (funcall setter (proxy-location object) value))) setter)))))) (defmethod compute-slots ((class proxy-class))