[latexila] Replace deprecated {H,V}Paned -> Paned



commit e6c30b5b7211336e0ba9a8a3c52cacaf0348ffbd
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Wed May 2 02:09:16 2012 +0200

    Replace deprecated {H,V}Paned -> Paned

 src/main_window.vala |    8 ++++----
 src/structure.vala   |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 0465191..a416cc1 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -192,8 +192,8 @@ public class MainWindow : Window
     private Symbols symbols;
     private FileBrowser file_browser;
     private Structure _structure;
-    private HPaned main_hpaned;
-    private VPaned vpaned;
+    private Paned main_hpaned;
+    private Paned vpaned;
 
     private UIManager ui_manager;
     private Gtk.ActionGroup action_group;
@@ -473,7 +473,7 @@ public class MainWindow : Window
         // main horizontal pane
         // left: side panel (symbols, file browser, ...)
         // right: documents panel, search and replace, log zone, ...
-        main_hpaned = new HPaned ();
+        main_hpaned = new Paned (Orientation.HORIZONTAL);
         main_hpaned.set_position (settings.get_int ("side-panel-size"));
         main_vgrid.add (main_hpaned);
         main_hpaned.show ();
@@ -497,7 +497,7 @@ public class MainWindow : Window
         // vertical pane
         // top: vbox source view
         // bottom: log zone
-        vpaned = new VPaned ();
+        vpaned = new Paned (Orientation.VERTICAL);
         vpaned.set_position (settings.get_int ("vertical-paned-position"));
 
         // when we resize the window, the bottom panel keeps the same height
diff --git a/src/structure.vala b/src/structure.vala
index 60b48cb..74c0dab 100644
--- a/src/structure.vala
+++ b/src/structure.vala
@@ -69,7 +69,7 @@ public class Structure : Grid
     private Gtk.Action _action_shift_right;
 
     private ToggleButton[] _simple_list_buttons = {};
-    private VPaned _vpaned;
+    private Paned _vpaned;
 
     private TreeView _tree_view;
     private DocumentStructure _document_structure = null;
@@ -237,7 +237,7 @@ public class Structure : Grid
 
     private void init_vpaned ()
     {
-        _vpaned = new VPaned ();
+        _vpaned = new Paned (Orientation.VERTICAL);
         _vpaned.expand = true;
         add (_vpaned);
 



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