[balsa/gtk4] mblist: Use gtk_window_get_default_size()



commit 1533b46b16bf182260ff0120b4b01b10e21d29cb
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Dec 14 15:16:44 2020 -0500

    mblist: Use gtk_window_get_default_size()
    
    now that gtk_window_get_size() has gone.

 src/balsa-mblist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/balsa-mblist.c b/src/balsa-mblist.c
index 3db3d695f..bc8f8d61b 100644
--- a/src/balsa-mblist.c
+++ b/src/balsa-mblist.c
@@ -1665,7 +1665,7 @@ bmbl_dialog_response(GtkDialog *dialog,
 
     /* Maximizing a GtkDialog may not be possible, but we check anyway. */
     if (!gtk_window_is_maximized(window))
-        gtk_window_get_size(window, &balsa_app.mru_tree_width, &balsa_app.mru_tree_height);
+        gtk_window_get_default_size(window, &balsa_app.mru_tree_width, &balsa_app.mru_tree_height);
 
     gtk_window_destroy(window);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]