[dconf-editor] Fix window size saving.



commit 4bd142f6d0f60b23513e4d8e0f34151b5088585a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Feb 16 01:17:25 2016 +0100

    Fix window size saving.

 editor/dconf-window.vala |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index df676bb..f342bd5 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -110,12 +110,11 @@ class DConfWindow : ApplicationWindow
     }
 
     [GtkCallback]
-    private void on_size_allocate (Allocation allocation)
+    private void on_size_allocate ()
     {
         if (window_is_maximized || window_is_fullscreen)
             return;
-        window_width = allocation.width;
-        window_height = allocation.height;
+        get_size (out window_width, out window_height);
     }
 
     [GtkCallback]


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