[balsa/gtk4: 177/314] libbalsa-gpgme-widgets: Use container-add




commit 0055641457dc76fadb0b95cb380ed618a9ec9ecc
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 01fe96800..d4f0efbb5 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]