[balsa/gtk4: 271/289] sendmsg-window: GtkWindow is not a GtkBox




commit dd9e49d4095dc354813de229eff130d4c1bd5fe6
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Nov 21 12:48:11 2020 -0500

    sendmsg-window: GtkWindow is not a GtkBox

 src/sendmsg-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 88c0f7e11..3c6af5802 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -7359,7 +7359,7 @@ sendmsg_window_new()
         gtk_application_window_new(balsa_app.application);
     geometry_manager_attach(GTK_WINDOW(window), "SendMsgWindow");
 
-    gtk_box_append(GTK_BOX(window), main_box);
+    gtk_window_set_child(GTK_WINDOW(window), main_box);
     gtk_widget_show(window);
 
     bsmsg->gpg_mode = LIBBALSA_PROTECT_RFC3156;


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