X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/9f2d34f202a757b16fad170c18e3f0b9fca03e67..fad6d6a9bc32da2f7837b97474587b711f06637b:/examples/ginspect.lisp diff --git a/examples/ginspect.lisp b/examples/ginspect.lisp index c6de18e..2e5d9a1 100644 --- a/examples/ginspect.lisp +++ b/examples/ginspect.lisp @@ -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)