summaryrefslogtreecommitdiff
path: root/gtk/gtkmenusectionbox.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-01-07 18:27:11 +0100
committerTimm Bäder <mail@baedert.org>2016-01-07 19:37:18 +0100
commit0b96b8a1eef68a6110ceac10208a2c29b807cd56 (patch)
treeba297c9392fffcc1e05d4ea0c440d4864bdba174 /gtk/gtkmenusectionbox.c
parent2f61bc18661c83769968e9cc47ca762d45cf0117 (diff)
downloadgtk+-0b96b8a1eef68a6110ceac10208a2c29b807cd56.tar.gz
GtkModelButton: Remove some margins
Now that we can use margins from css for this, remove the margins we set in code and use css instead.
Diffstat (limited to 'gtk/gtkmenusectionbox.c')
-rw-r--r--gtk/gtkmenusectionbox.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c
index 0557bc9e2b..2de27dab0b 100644
--- a/gtk/gtkmenusectionbox.c
+++ b/gtk/gtkmenusectionbox.c
@@ -496,12 +496,6 @@ gtk_menu_section_box_new_section (GtkMenuTrackerItem *item,
box->separator = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
g_object_ref_sink (box->separator);
- g_object_set (box->separator,
- "margin-start", 12,
- "margin-end", 12,
- "margin-top", 6,
- "margin-bottom", 3,
- NULL);
gtk_container_add (GTK_CONTAINER (box->separator), title);
gtk_container_add (GTK_CONTAINER (box->separator), separator);
gtk_widget_show_all (box->separator);
@@ -511,12 +505,6 @@ gtk_menu_section_box_new_section (GtkMenuTrackerItem *item,
box->separator = separator;
g_object_ref_sink (box->separator);
- g_object_set (box->separator,
- "margin-start", 12,
- "margin-end", 12,
- "margin-top", 3,
- "margin-bottom", 3,
- NULL);
gtk_widget_show (box->separator);
}