[balsa/gtk4: 277/311] sendmsg-window: GtkWindow is not a GtkBox




commit a9a44c457c1a95bc87b01b7f4478d0fb7240dce4
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 6bc9fda6e..6dda24126 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -7362,7 +7362,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]