summaryrefslogtreecommitdiff
path: root/gtk/gtkmenusectionbox.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-02 17:37:22 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-16 18:17:21 +0200
commitf45dadadd00d892ba16dc081240987425bc32346 (patch)
tree181fc50993716de719c7d993c9d66bb7b2adb090 /gtk/gtkmenusectionbox.c
parentc301357627172e4aeb3a7cb8d04fd5428d930df4 (diff)
downloadgtk+-f45dadadd00d892ba16dc081240987425bc32346.tar.gz
box: Remove 'padding' child property
Diffstat (limited to 'gtk/gtkmenusectionbox.c')
-rw-r--r--gtk/gtkmenusectionbox.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c
index b790825a64..210eb95de2 100644
--- a/gtk/gtkmenusectionbox.c
+++ b/gtk/gtkmenusectionbox.c
@@ -134,7 +134,7 @@ gtk_menu_section_box_sync_separators (GtkMenuSectionBox *box,
return;
if (should_have_separator)
- gtk_box_pack_start (GTK_BOX (box), box->separator, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), box->separator, FALSE, FALSE);
else
gtk_container_remove (GTK_CONTAINER (box), box->separator);
}
@@ -329,7 +329,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
gtk_widget_set_halign (widget, GTK_ALIGN_FILL);
if (box->iconic)
- gtk_box_pack_start (GTK_BOX (box->item_box), widget, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box->item_box), widget, TRUE, TRUE);
else
gtk_container_add (GTK_CONTAINER (box->item_box), widget);
gtk_box_reorder_child (GTK_BOX (box->item_box), widget, position);
@@ -348,7 +348,7 @@ gtk_menu_section_box_init (GtkMenuSectionBox *box)
item_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
box->item_box = GTK_BOX (item_box);
- gtk_box_pack_end (GTK_BOX (box), item_box, FALSE, FALSE, 0);
+ gtk_box_pack_end (GTK_BOX (box), item_box, FALSE, FALSE);
gtk_widget_set_halign (GTK_WIDGET (item_box), GTK_ALIGN_FILL);
gtk_widget_show (item_box);
@@ -460,7 +460,7 @@ gtk_menu_section_box_new_submenu (GtkMenuTrackerItem *item,
g_object_set_data (G_OBJECT (button), "focus", focus);
g_object_set_data (G_OBJECT (focus), "focus", button);
- gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE);
gtk_widget_show (button);
g_signal_connect (focus, "clicked", G_CALLBACK (open_submenu), item);
@@ -522,17 +522,17 @@ gtk_menu_section_box_new_section (GtkMenuTrackerItem *item,
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_set_valign (separator, GTK_ALIGN_CENTER);
- gtk_box_pack_start (GTK_BOX (box->separator), separator, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box->separator), separator, TRUE, TRUE);
title = gtk_label_new (label);
g_object_bind_property (item, "label", title, "label", G_BINDING_SYNC_CREATE);
gtk_style_context_add_class (gtk_widget_get_style_context (title), GTK_STYLE_CLASS_SEPARATOR);
gtk_widget_set_halign (title, GTK_ALIGN_START);
- gtk_box_pack_start (GTK_BOX (box->separator), title, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box->separator), title, FALSE, FALSE);
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_set_valign (separator, GTK_ALIGN_CENTER);
- gtk_box_pack_start (GTK_BOX (box->separator), separator, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box->separator), separator, TRUE, TRUE);
gtk_widget_show_all (box->separator);
}