r4264: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 26 Mar 2003 21:03:22 +0000 (21:03 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 26 Mar 2003 21:03:22 +0000 (21:03 +0000)
views.lisp

index 6c1cb2595588d3e64a09dbe26db07ba45ac83c29..8f0f9b8c2ff377ff205c2011a4bb2e0095140c81 100644 (file)
@@ -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
 ;;;;
        (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))
 
 (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"