[balsa/stop-using-gtkbox-child-properties: 8/18] source-viewer: Use container-add for a scrolled w
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/stop-using-gtkbox-child-properties: 8/18] source-viewer: Use container-add for a scrolled w
- Date: Tue, 23 Jun 2020 16:05:44 +0000 (UTC)
commit 2426df8ae2b873db00d6eaba376f33e46ebf9a7a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jun 7 10:29:07 2020 -0400
source-viewer: Use container-add for a scrolled w
libbalsa/source-viewer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libbalsa/source-viewer.c b/libbalsa/source-viewer.c
index 2a51df35d..946cfe795 100644
--- a/libbalsa/source-viewer.c
+++ b/libbalsa/source-viewer.c
@@ -245,7 +245,8 @@ libbalsa_show_message_source(GtkApplication * application,
gtk_widget_set_vexpand(interior, TRUE);
gtk_widget_set_valign(interior, GTK_ALIGN_FILL);
- gtk_box_pack_start(GTK_BOX(vbox), interior, FALSE, FALSE, 0);
+ g_object_set(interior, "margin", 2, NULL);
+ gtk_container_add(GTK_CONTAINER(vbox), interior);
gtk_container_add(GTK_CONTAINER(window), vbox);
lsvi = g_new(LibBalsaSourceViewerInfo, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]