[cheese] Avoid using deprecated GtkAlignment



commit 1e1a9daa62c5c310f8618318a54393887fec5ed9
Author: David King <amigadave amigadave com>
Date:   Tue Jul 8 11:20:21 2014 +0100

    Avoid using deprecated GtkAlignment

 data/cheese-main-window.ui |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index 05b1216..b8c1be2 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -85,26 +85,19 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkAlignment" id="action_button_alignment">
-                        <property name="xscale">0</property>
-                        <property name="yscale">0</property>
+                      <object class="GtkButton" id="take_action_button">
+                        <property name="action-name">app.shoot</property>
+                        <property name="tooltip_text" translatable="yes">Take a photo using a 
webcam</property>
                         <property name="hexpand">True</property>
                         <property name="vexpand">False</property>
                         <property name="visible">True</property>
+                        <style>
+                          <class name="image-button"/>
+                        </style>
                         <child>
-                          <object class="GtkButton" id="take_action_button">
-                            <property name="action-name">app.shoot</property>
-                            <property name="tooltip_text" translatable="yes">Take a photo using a 
webcam</property>
+                          <object class="GtkImage" id="take_action_button_image">
+                            <property name="icon-name">camera-web-symbolic</property>
                             <property name="visible">True</property>
-                            <style>
-                              <class name="image-button"/>
-                            </style>
-                            <child>
-                              <object class="GtkImage" id="take_action_button_image">
-                                <property name="icon-name">camera-web-symbolic</property>
-                                <property name="visible">True</property>
-                              </object>
-                            </child>
                           </object>
                         </child>
                       </object>


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