[balsa/gtk4: 296/312] geometry-manager: Use gtk_window_get_default_size()




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]