X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=views.lisp;h=8f0f9b8c2ff377ff205c2011a4bb2e0095140c81;hb=aba571542f023bf58d62198fdd6bea3e9fff2e27;hp=6c1cb2595588d3e64a09dbe26db07ba45ac83c29;hpb=2dde1184d7927398e4487132ebf8a3e83bf4a81a;p=hyperobject.git diff --git a/views.lisp b/views.lisp index 6c1cb25..8f0f9b8 100644 --- a/views.lisp +++ b/views.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: views.lisp,v 1.24 2003/03/26 21:01:27 kevin Exp $ +;;;; $Id: views.lisp,v 1.25 2003/03/26 21:03:22 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -101,7 +101,9 @@ (aif (find category (views obj-class) :key #'category) it (let ((view - (make-instance 'object-view :object-class-name (class-name obj-class) + (make-instance 'object-view + :object-class-name (class-name obj-class) + :object-class obj-class :category category :slots slots))) (push view (views obj-class)) @@ -147,7 +149,7 @@ (defmethod initialize-instance :after ((view object-view) &rest initargs &key &allow-other-keys) - (initialize-view (find-class (object-class-name view)) view)) + (initialize-view (object-class view) view)) (defun initialize-view (obj-cl view) "Calculate all view slots for a hyperobject class"