[gtk+/wip/baedert/gtkimageview: 140/186] demo: Use GtkScale instead of GtkSpinButton



commit 5c06ce5997fa736d23856b888fe255587ab2e7b7
Author: Timm Bäder <mail baedert org>
Date:   Thu Jan 28 17:38:09 2016 +0100

    demo: Use GtkScale instead of GtkSpinButton

 demos/gtk-demo/image_view.ui |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/demos/gtk-demo/image_view.ui b/demos/gtk-demo/image_view.ui
index 1500b12..7be80a3 100644
--- a/demos/gtk-demo/image_view.ui
+++ b/demos/gtk-demo/image_view.ui
@@ -206,11 +206,11 @@
           </packing>
         </child>
 
+
         <child>
-          <object class="GtkSpinButton" id="angle_spin_button">
+          <object class="GtkScale" id="angle_spin_button">
             <property name="visible">true</property>
             <property name="digits">2</property>
-            <property name="numeric">true</property>
             <property name="adjustment">angle_adjustment</property>
           </object>
           <packing>
@@ -220,7 +220,6 @@
           </packing>
         </child>
 
-
         <child>
           <object class="GtkLabel">
             <property name="visible">true</property>
@@ -236,10 +235,9 @@
         </child>
 
         <child>
-          <object class="GtkSpinButton" id="scale_spin_button">
+          <object class="GtkScale" id="scale_spin_button">
             <property name="visible">true</property>
             <property name="digits">2</property>
-            <property name="numeric">true</property>
             <property name="adjustment">scale_adjustment</property>
           </object>
           <packing>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]