chiark / gitweb /
gtk/gtk.lisp: Make (dialog-run) return the response symbolically.
[clg] / examples / testgtk.lisp
index da8667021b5cab7d193de7e928b73f1fddb1270e..04047c25455c675c482e7080f39e655f107f7107 100644 (file)
@@ -1702,7 +1702,7 @@ (defun create-toolbar (window)
           :tip-private "Toolbar/Horizontal"
           :signal (list 'clicked 
                    #'(lambda (toolbar) 
-                       (setf (toolbar-orientation toolbar) :horizontal))
+                       (setf (orientable-orientation toolbar) :horizontal))
                    :object :parent))
 
    :child (make-instance 'tool-button
@@ -1711,7 +1711,7 @@ (defun create-toolbar (window)
           :tip-private "Toolbar/Vertical"
           :signal (list 'clicked 
                    #'(lambda (toolbar) 
-                       (setf (toolbar-orientation toolbar) :vertical))
+                       (setf (orientable-orientation toolbar) :vertical))
                    :object :parent))
 
    :child (make-instance 'separator-tool-item)