X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/f5c99598e1a12d82a1e3223d4fdc90b3ceb144ad..88e93a4ad7cb5f7cfd3d83d9f3938f3a6f95838c:/examples/testgtk.lisp?ds=sidebyside diff --git a/examples/testgtk.lisp b/examples/testgtk.lisp index b008a04..a4bd8ef 100644 --- a/examples/testgtk.lisp +++ b/examples/testgtk.lisp @@ -23,10 +23,11 @@ ;; Parts of this file are direct translations of code from 'testgtk.c' ;; distributed with the Gtk+ library, and thus covered by the GNU ;; Lesser General Public License and copyright Peter Mattis, Spencer -;; Kimball, Josh MacDonald and others. +;; Kimball, Josh MacDonald and others. To be safe the entire file +;; should probably be considered as being GPL'ed. -;; $Id: testgtk.lisp,v 1.40 2007-06-20 10:20:47 espen Exp $ +;; $Id: testgtk.lisp,v 1.43 2008-03-20 16:05:31 espen Exp $ #+sbcl(require :gtk) #+(or cmu clisp)(asdf:oos 'asdf:load-op :gtk) @@ -544,7 +545,7 @@ :message-type :error :visible t :text "Failed to load an image" :secondary-text (glib:gerror-message condition) - :signal (list :close #'widget-destroy :object t)) + :signal (list :ok #'widget-destroy :object t)) (return-from load-pixbufs nil)))) t) @@ -1795,7 +1796,7 @@ This one is underlined in quite a funky fashion" :child (create-label "Below"))) -;;; Tooltips test +;;; Tooltips test. Note that GtkTooltips has been deprecated in GTK+ 2.12 (define-simple-dialog create-tooltips (dialog "Tooltips" :default-width 200) (let ((tooltips (make-instance 'tooltips)))