X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/0868655d0a7265f977fa7584361413b60e63764f..d71326a2a619ac213d90dcc522a1354e37ce8e30:/examples/ginspect.lisp diff --git a/examples/ginspect.lisp b/examples/ginspect.lisp index d4e8f23..2e5d9a1 100644 --- a/examples/ginspect.lisp +++ b/examples/ginspect.lisp @@ -20,10 +20,10 @@ ;; 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.12 2006-09-06 11:07:36 espen Exp $ +;; $Id: ginspect.lisp,v 1.14 2006-09-15 12:46:30 espen Exp $ #+sbcl(require :gtk) -#+cmu(asdf:oos 'asdf:load-op :gtk) +#+(or cmu clisp)(asdf:oos 'asdf:load-op :gtk) (defpackage "GINSPECT" (:use "COMMON-LISP" "GFFI" "GLIB" "GTK" #+cmu"PCL" #+sbcl"SB-PCL" #+clisp"MOP") @@ -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)