[balsa/wip/gtk4: 74/351] Put margin on box



commit 6da002e4c8d504ce43834a8290c830e17b553e37
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Nov 19 20:07:40 2017 -0500

    Put margin on box

 src/spell-check.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/spell-check.c b/src/spell-check.c
index 1b7bc66..2ad477e 100644
--- a/src/spell-check.c
+++ b/src/spell-check.c
@@ -209,7 +209,6 @@ balsa_spell_check_new(GtkWindow * parent)
                                "transient-for", parent,
                                "destroy-with-parent", TRUE,
                                "title", _("Spell check"),
-                               "margin", BALSA_SPELL_CHECK_PADDING,
                                NULL);
 
     return (GtkWidget *) spell_check;
@@ -297,6 +296,7 @@ balsa_spell_check_init(BalsaSpellCheck * spell_check)
     spell_check->entry = GTK_ENTRY(widget);
     box_widget =
         gtk_box_new(GTK_ORIENTATION_VERTICAL, BALSA_SPELL_CHECK_PADDING);
+    g_object_set(G_OBJECT(box_widget), "margin", BALSA_SPELL_CHECK_PADDING, NULL);
     gtk_container_add((GtkContainer *) spell_check, box_widget);
 
     box = (GtkBox *) box_widget;


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