From 1ae284cc71af80bbc348c10587752336e14ff0fc Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Sun, 28 Jun 2026 18:24:42 +0100 Subject: [PATCH] Lose Window.get_size --- src/MainWindow.vala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index dcd34dbc3..3910934b7 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -541,12 +541,8 @@ namespace Scratch { content_stack.add (welcome_view); content_stack.visible_child = view_grid; // Must be visible while restoring - // Set a proper position for ThinPaned widgets - int width, height; - get_size (out width, out height); - + // The pane position is restored from settings vp = new Gtk.Paned (Gtk.Orientation.VERTICAL); - vp.position = (height - 150); vp.pack1 (content_stack, true, false); vp.pack2 (terminal, false, false);