[gnote/gnome-3-20] Fix Windows size shrinking when switching from/to note
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-20] Fix Windows size shrinking when switching from/to note
- Date: Sun, 18 Sep 2016 14:34:26 +0000 (UTC)
commit 0994fbdcd89121d602e83d7494bb25d4df3bd01d
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Aug 13 19:26:57 2016 +0300
Fix Windows size shrinking when switching from/to note
Use size from same level object, not mix of GDK/GTK.
Fixes Bug 764464.
src/recentchanges.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 0a5ded8..01755f2 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -515,7 +515,7 @@ namespace gnote {
if(width && height) {
set_default_size(width, height);
if(!maximized && get_visible()) {
- get_window()->resize(width, height);
+ resize(width, height);
}
}
widget.size_internals();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]