X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/9ba1aab1e5ad3f9758d8bdbfdaaae3c43152716c..7c14f6abb37972445ffc0be122d743da59ea9063:/examples/testgtk.lisp diff --git a/examples/testgtk.lisp b/examples/testgtk.lisp index 6a5b116..a8feb8b 100644 --- a/examples/testgtk.lisp +++ b/examples/testgtk.lisp @@ -26,13 +26,13 @@ ;; Kimball, Josh MacDonald and others. -;; $Id: testgtk.lisp,v 1.37 2006-09-15 07:44:00 espen Exp $ +;; $Id: testgtk.lisp,v 1.39 2007-06-19 12:49:18 espen Exp $ #+sbcl(require :gtk) #+(or cmu clisp)(asdf:oos 'asdf:load-op :gtk) (defpackage "TESTGTK" - (:use "COMMON-LISP" "GTK")) + (:use "COMMON-LISP" "CLG")) (in-package "TESTGTK") @@ -537,8 +537,8 @@ (defun load-pixbufs () (unless file-pixbuf (handler-case (setf - file-pixbuf (gdk:pixbuf-load #p"/usr/share/icons/gnome/48x48/filesystems/gnome-fs-regular.png") - folder-pixbuf (gdk:pixbuf-load #p"/usr/share/icons/gnome/48x48/filesystems/gnome-fs-directory.png")) + file-pixbuf (gdk:pixbuf-load #p"clg:examples;gnome-fs-regular.png") + folder-pixbuf (gdk:pixbuf-load #p"clg:examples;gnome-fs-directory.png")) (glib:glib-error (condition) (make-instance 'message-dialog :message-type :error :visible t @@ -2007,5 +2007,4 @@ (defun create-main-window () main-window)) (clg-init) -(create-main-window) - +(within-main-loop (create-main-window))