[gnome-maps/wip/mlundblad/cleanup-gtk-deprecations] instructionRow: Minimize use of child properties



commit d50a66c74ae1e274d744941e13c7845eb7d83817
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Mar 21 22:58:13 2021 +0100

    instructionRow: Minimize use of child properties
    
    Remove all redundant child properties. Child
    properties are gone in GTK4, and we should
    minimize their use to what's absolutely necessary
    in GTK3.

 data/ui/instruction-row.ui | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/data/ui/instruction-row.ui b/data/ui/instruction-row.ui
index 95254773..1e3cf1d1 100644
--- a/data/ui/instruction-row.ui
+++ b/data/ui/instruction-row.ui
@@ -23,11 +23,6 @@
               <class name="sidebar-icon"/>
             </style>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">0</property>
-          </packing>
         </child>
         <child>
           <object class="GtkLabel" id="instructionLabel">
@@ -45,12 +40,8 @@
             <property name="width_chars">20</property>
             <property name="max_width_chars">20</property>
             <property name="lines">3</property>
+            <property name="expand">True</property>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
         </child>
         <child>
           <object class="GtkLabel" id="distanceLabel">
@@ -62,11 +53,6 @@
             <property name="lines">3</property>
             <property name="margin_end">5</property>
           </object>
-          <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
-            <property name="position">3</property>
-          </packing>
         </child>
       </object>
     </child>


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