[balsa/stop-using-gtkbox-child-properties: 20/23] libbalsa-gpgme-widgets: Use container-add




commit 1f28c2b79b858e87f85ca1f527ca521c53829480
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Aug 24 16:01:46 2020 -0400

    libbalsa-gpgme-widgets: Use container-add
    
    instead of box-pack-start for the uid-label; when it is a box, there is
    a difference.

 libbalsa/libbalsa-gpgme-widgets.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libbalsa/libbalsa-gpgme-widgets.c b/libbalsa/libbalsa-gpgme-widgets.c
index 8d1400a10..8130714bb 100644
--- a/libbalsa/libbalsa-gpgme-widgets.c
+++ b/libbalsa/libbalsa-gpgme-widgets.c
@@ -615,7 +615,7 @@ create_key_label_with_warn(const gchar *text,
                gtk_label_set_selectable(GTK_LABEL(label), TRUE);
                gtk_widget_set_hexpand(label, TRUE);
                 gtk_widget_set_halign(label, GTK_ALIGN_FILL);
-               gtk_box_pack_start(GTK_BOX(result), label, FALSE, FALSE, 0U);
+               gtk_container_add(GTK_CONTAINER(result), label);
        } else {
                result = libbalsa_create_wrap_label(text, FALSE);
                gtk_widget_set_hexpand(result, TRUE);


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