Port from toolbar-orientation to orientable-orientation
authorRupert Swarbrick <rswarbrick@gmail.com>
Sat, 3 Mar 2012 22:21:37 +0000 (22:21 +0000)
committerRupert Swarbrick <rswarbrick@gmail.com>
Sat, 3 Mar 2012 22:21:37 +0000 (22:21 +0000)
Old version deprecated since Gtk 2.16

examples/testgtk.lisp

index da86670..04047c2 100644 (file)
@@ -1702,7 +1702,7 @@ This one is underlined in quite a funky fashion"
           :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 @@ This one is underlined in quite a funky fashion"
           :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)