[dconf-editor] Fix window size saving.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Fix window size saving.
- Date: Tue, 16 Feb 2016 00:18:00 +0000 (UTC)
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]