[virt-tools-list] [virt-manager PATCHv2 13/13] Use GtkPaned instead of GtkHPaned

Radostin Stoyanov rstoyanov1 at gmail.com
Wed May 31 13:08:43 UTC 2017


GtkHPaned was deprecated since Gtk version 3.2 and should not be
used in newly-written code.[1] Use GtkPaned instead.[2]

By default, GtkPaned's orientation is set to horizontal.[3]

[1] https://developer.gnome.org/gtk3/stable/GtkHPaned.html

[2] https://developer.gnome.org/gtk3/stable/GtkPaned.html

[3] https://developer.gnome.org/gtk3/stable/gtk3-Orientable.html#GtkOrientable--orientation
---
 ui/host.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/host.ui b/ui/host.ui
index d255804..7270091 100644
--- a/ui/host.ui
+++ b/ui/host.ui
@@ -383,7 +383,7 @@
                 <property name="border_width">3</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkHPaned" id="hpaned2">
+                  <object class="GtkPaned" id="hpaned2">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="border_width">3</property>
@@ -1350,7 +1350,7 @@
                 <property name="border_width">3</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkHPaned" id="hpaned3">
+                  <object class="GtkPaned" id="hpaned3">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="border_width">3</property>
-- 
2.9.4




More information about the virt-tools-list mailing list