[balsa/gtk4: 152/246] main-window: Use container-add for the statusbar
- From: Peter Bloomfield <peterb src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [balsa/gtk4: 152/246] main-window: Use container-add for the statusbar
 
- Date: Mon,  2 Nov 2020 20:11:28 +0000 (UTC)
 
commit c8fef8b8a9c6eb4c812498a31863c2b35d4d075f
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Aug 24 15:24:31 2020 -0400
    main-window: Use container-add for the statusbar
    
    instead of box-pack-start, so that hexpand is respected.
 src/main-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index c351610a2..ce041e9fd 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2319,7 +2319,7 @@ balsa_window_new(GtkApplication *application)
     priv->statusbar = gtk_statusbar_new();
     gtk_widget_set_hexpand(priv->statusbar, TRUE);
     gtk_widget_set_halign(priv->statusbar, GTK_ALIGN_FILL);
-    gtk_box_pack_start(GTK_BOX(hbox), priv->statusbar, FALSE, FALSE, 0);
+    gtk_container_add(GTK_CONTAINER(hbox), priv->statusbar);
     gtk_widget_show_all(hbox);
 
 #if 0
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]