From: Dmitry Kalyanov Date: Sat, 29 Aug 2009 17:56:18 +0000 (+0400) Subject: Fixed gtk tree-model classes definitions X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=2d947c7f30b3aabb5a2f0ad553bde5c4c7b96837;p=cl-gtk2.git Fixed gtk tree-model classes definitions --- diff --git a/gtk/gtk.tree-model.lisp b/gtk/gtk.tree-model.lisp index 47962a0..6dc7e17 100644 --- a/gtk/gtk.tree-model.lisp +++ b/gtk/gtk.tree-model.lisp @@ -34,7 +34,9 @@ (defclass array-list-store (g-object tree-model) ((items :initform (make-array 0 :adjustable t :fill-pointer t) :reader store-items) (columns-getters :initform (make-array 0 :adjustable t :fill-pointer t) :reader store-getters) - (columns-types :initform (make-array 0 :adjustable t :fill-pointer t) :reader store-types))) + (columns-types :initform (make-array 0 :adjustable t :fill-pointer t) :reader store-types)) + (:metaclass gobject-class) + (:g-type-name . "LispArrayListStore")) (export 'array-list-store) @@ -331,7 +333,9 @@ (columns-types :initform (make-array 0 :adjustable t :fill-pointer t) :reader tree-lisp-store-types) (root :initform (make-tree-node) :reader tree-lisp-store-root) (id-map :initform (make-hash-table) :reader tree-lisp-store-id-map) - (next-id-value :initform 0 :accessor tree-lisp-store-next-id-value))) + (next-id-value :initform 0 :accessor tree-lisp-store-next-id-value)) + (:metaclass gobject-class) + (:g-type-name . "LispTreeStore")) (defmethod initialize-instance :after ((object tree-lisp-store) &key &allow-other-keys) (setf (tree-node-tree (tree-lisp-store-root object)) object))