[balsa/gtk4: 296/312] geometry-manager: Use gtk_window_get_default_size()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 296/312] geometry-manager: Use gtk_window_get_default_size()
- Date: Tue, 5 Oct 2021 20:01:28 +0000 (UTC)
commit dfa63b367c9b454909e5c585d2361c8cc2d5938f
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]