[gnome-games] ui: Stop using expand property



commit a524eaa495b0d5fc83ffde668fcfbab9cc57c658
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Oct 16 01:46:11 2020 +0500

    ui: Stop using expand property
    
    It's gone in GTK4 as well.

 data/ui/platforms-page.ui     | 3 +--
 data/ui/preferences-page.ui   | 1 -
 data/ui/preferences-window.ui | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/data/ui/platforms-page.ui b/data/ui/platforms-page.ui
index 7ad8216a..7e6413d4 100644
--- a/data/ui/platforms-page.ui
+++ b/data/ui/platforms-page.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPlatformsPage" parent="GtkBin">
     <property name="visible">True</property>
-    <property name="expand">True</property>
     <signal name="map" after="yes" handler="on_map"/>
     <signal name="unmap" after="no" handler="on_unmap"/>
     <signal name="notify::is-folded" handler="on_folded_changed"/>
@@ -54,7 +53,7 @@
         <child>
           <object class="GamesGamesPage" id="games_page">
             <property name="visible">True</property>
-            <property name="expand">True</property>
+            <property name="hexpand">True</property>
             <property name="is-selection-mode" bind-source="GamesPlatformsPage" 
bind-property="is-selection-mode"/>
             <property name="is-search-empty" bind-source="GamesPlatformsPage" 
bind-property="is-search-empty" bind-flags="bidirectional"/>
             <signal name="game-activated" handler="on_game_activated"/>
diff --git a/data/ui/preferences-page.ui b/data/ui/preferences-page.ui
index 663bd6ae..007c3c59 100644
--- a/data/ui/preferences-page.ui
+++ b/data/ui/preferences-page.ui
@@ -17,7 +17,6 @@
                 <child>
                   <object class="HdyClamp">
                     <property name="visible">True</property>
-                    <property name="expand">True</property>
                     <child>
                       <object class="GtkBox" id="box">
                         <property name="visible">True</property>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index bdf06c20..a4402358 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -34,7 +34,6 @@
             <child>
               <object class="GtkStack" id="stack">
                 <property name="visible">True</property>
-                <property name="expand">True</property>
                 <property name="visible-child">video_page</property>
                 <property name="transition-type">crossfade</property>
                 <property name="width-request">300</property>


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