[shotwell/wip/libdazzle: 79/85] Remove now obsolete Gtk.Box



commit c0c6aa3cd6907bdda2e16fb142b7b1cc97ebe98b
Author: Jens Georg <mail jensge org>
Date:   Fri Apr 3 21:26:45 2020 +0200

    Remove now obsolete Gtk.Box

 src/library/LibraryWindow.vala | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala
index 4c69fe36..8612d097 100644
--- a/src/library/LibraryWindow.vala
+++ b/src/library/LibraryWindow.vala
@@ -142,7 +142,6 @@ public class LibraryWindow : AppWindow {
     
     private Gtk.Stack stack = new Gtk.Stack();
     private Gtk.Box layout = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
-    private Gtk.Box right_vbox;
     
     public LibraryWindow(ProgressMonitor progress_monitor) {
         base();
@@ -1089,15 +1088,12 @@ public class LibraryWindow : AppWindow {
         sidebar_paned.pack2(bottom_frame, false, false);
         sidebar_paned.set_position(1000);
         
-        right_vbox = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
         ((Gtk.Container)client_paned.get_top_edge()).add(search_toolbar);
-        var stack_box = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 0);
-        stack_box.pack_start(stack, true, true, 0);
-        right_vbox.pack_start(stack_box, true, true, 0);
-        
         ((Gtk.Container)client_paned.get_left_edge()).add(sidebar_paned);
+
         sidebar_tree.set_size_request(SIDEBAR_MIN_WIDTH, -1);
-        client_paned.add(right_vbox);
+        client_paned.add(stack);
+
         // TODO: Calc according to layout's size, to give sidebar a maximum width
         stack.set_size_request(PAGE_MIN_WIDTH, -1);
         var scrolled = new Gtk.ScrolledWindow(null, null);


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