chiark / gitweb /
Updated due to API
[clg] / examples / ginspect.lisp
index c6de18eeac97f2f5845332b71daeb9a7ca2af6cd..2e5d9a1d5b689fb00e4c3ed4aa6107f9fde64398 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: ginspect.lisp,v 1.13 2006-09-06 11:43:41 espen Exp $
+;; $Id: ginspect.lisp,v 1.14 2006-09-15 12:46:30 espen Exp $
 
 #+sbcl(require :gtk)
 #+(or cmu clisp)(asdf:oos 'asdf:load-op :gtk)
@@ -60,9 +60,9 @@ (defun ginspect (object)
          (object (make-instance 'cell-renderer-text)))   
       (tree-view-append-column view column)
       (cell-layout-pack column name :expand nil)
-      (cell-layout-add-attribute column name 'text (column-index store 'name))
+      (cell-layout-add-attribute column name :text (tree-model-column-index store 'name))
       (cell-layout-pack column object :expand t)
-      (cell-layout-add-attribute column object 'text (column-index store 'pprinted)))
+      (cell-layout-add-attribute column object :text (tree-model-column-index store 'pprinted)))
 
     (insert-object object store nil)