[balsa/gtk4: 298/311] libbalsa-gpgme-widgets: ScrolledWindow isn't a Box




commit bf746217688a7b292d3bdf6359d882f106d2a1ff
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Mar 15 10:40:25 2021 -0400

    libbalsa-gpgme-widgets: ScrolledWindow isn't a Box

 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 720ce6f3b..ecf8fcfc4 100644
--- a/libbalsa/libbalsa-gpgme-widgets.c
+++ b/libbalsa/libbalsa-gpgme-widgets.c
@@ -459,7 +459,7 @@ libbalsa_key_dialog(GtkWindow            *parent,
        gtk_scrolled_window_set_min_content_height(GTK_SCROLLED_WINDOW(scrolledw), 120);
 
        key_data = libbalsa_gpgme_key(key, NULL, subkey_capa, TRUE);
-       gtk_box_append(GTK_BOX(scrolledw), key_data);
+       gtk_scrolled_window_set_child(GTK_SCROLLED_WINDOW(scrolledw), key_data);
 
        return dialog;
 }


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