[gtk+] menusectionbox: Remove margins
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menusectionbox: Remove margins
- Date: Fri, 28 Oct 2016 14:32:37 +0000 (UTC)
commit 21a43014edc6ab9f2d4b71889f370d41ab6cfdac
Author: Timm Bäder <mail baedert org>
Date: Mon Oct 24 20:08:58 2016 +0200
menusectionbox: Remove margins
So the theme can add the spacing on its own.
gtk/gtkmenusectionbox.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c
index 210eb95..77db0cc 100644
--- a/gtk/gtkmenusectionbox.c
+++ b/gtk/gtkmenusectionbox.c
@@ -423,7 +423,7 @@ gtk_menu_section_box_new_toplevel (GtkStack *stack,
{
GtkMenuSectionBox *box;
- box = g_object_new (GTK_TYPE_MENU_SECTION_BOX, "margin", 10, NULL);
+ box = g_object_new (GTK_TYPE_MENU_SECTION_BOX, NULL);
gtk_stack_add_named (stack, GTK_WIDGET (box), "main");
box->tracker = gtk_menu_tracker_new (GTK_ACTION_OBSERVABLE (_gtk_widget_get_action_muxer (GTK_WIDGET
(box), TRUE)),
@@ -446,7 +446,7 @@ gtk_menu_section_box_new_submenu (GtkMenuTrackerItem *item,
GtkMenuSectionBox *box;
GtkWidget *button;
- box = g_object_new (GTK_TYPE_MENU_SECTION_BOX, "margin", 10, NULL);
+ box = g_object_new (GTK_TYPE_MENU_SECTION_BOX, NULL);
button = g_object_new (GTK_TYPE_MODEL_BUTTON,
"menu-name", name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]