[balsa/gtk4: 267/284] sendmsg-window: GtkWindow is not a GtkBox




commit 5526b3ff71b2b5e1d3baff87ca0e3ad7dc1572ac
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]