[balsa/gtk4: 291/311] geometry-manager: Use gtk_window_get_default_size()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 291/311] geometry-manager: Use gtk_window_get_default_size()
- Date: Fri, 17 Dec 2021 19:54:28 +0000 (UTC)
commit d888b252e82d1598619928223dc2763c9b81e256
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Dec 14 15:13:23 2020 -0500
geometry-manager: Use gtk_window_get_default_size()
now that gtk_window_get_size() has gone.
libbalsa/geometry-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libbalsa/geometry-manager.c b/libbalsa/geometry-manager.c
index 9df684982..2dc58aeb6 100644
--- a/libbalsa/geometry-manager.c
+++ b/libbalsa/geometry-manager.c
@@ -157,7 +157,7 @@ close_request_cb(GtkWindow *window,
G_LOCK(geometry_hash);
if (!size_item->maximized) {
- gtk_window_get_size(window, &size_item->width, &size_item->height);
+ gtk_window_get_default_size(window, &size_item->width, &size_item->height);
}
G_UNLOCK(geometry_hash);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]