[balsa/gtk4: 279/283] geometry-manager: Use gtk_window_get_default_size()




commit 40ee14d81003d8457104d2fbb7af88fc326d81a4
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]