summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkactionbar.c4
-rw-r--r--gtk/gtkappchooserdialog.c6
-rw-r--r--gtk/gtkassistant.c8
-rw-r--r--gtk/gtkbbox.c2
-rw-r--r--gtk/gtkbox.c162
-rw-r--r--gtk/gtkbox.h8
-rw-r--r--gtk/gtkcolorchooserwidget.c4
-rw-r--r--gtk/gtkcustompaperunixdialog.c24
-rw-r--r--gtk/gtkentrycompletion.c2
-rw-r--r--gtk/gtkfilechooserwidget.c10
-rw-r--r--gtk/gtkheaderbar.c12
-rw-r--r--gtk/gtkinfobar.c3
-rw-r--r--gtk/gtkmenusectionbox.c12
-rw-r--r--gtk/gtkmenutoolbutton.c6
-rw-r--r--gtk/gtkmodelmenuitem.c4
-rw-r--r--gtk/gtkmountoperation.c32
-rw-r--r--gtk/gtkpathbar.c4
-rw-r--r--gtk/gtkprintbackend.c16
-rw-r--r--gtk/gtkprinteroptionwidget.c20
-rw-r--r--gtk/gtkprintunixdialog.c14
-rw-r--r--gtk/gtkrecentchooserdialog.c2
-rw-r--r--gtk/gtkshortcutssection.c2
-rw-r--r--gtk/gtktoolbutton.c12
-rw-r--r--gtk/gtktreeviewcolumn.c8
-rw-r--r--gtk/inspector/general.c8
-rw-r--r--gtk/inspector/prop-editor.c6
-rw-r--r--gtk/inspector/recorder.c8
-rw-r--r--gtk/inspector/size-groups.c4
-rw-r--r--gtk/inspector/strv-editor.c10
-rw-r--r--gtk/ui/gtkaboutdialog.ui19
-rw-r--r--gtk/ui/gtkassistant.ui9
-rw-r--r--gtk/ui/gtkcoloreditor.ui1
-rw-r--r--gtk/ui/gtkfilechooserwidget.ui9
-rw-r--r--gtk/ui/gtklockbutton.ui3
-rw-r--r--gtk/ui/gtkmessagedialog.ui6
-rw-r--r--gtk/ui/gtkplacesview.ui2
-rw-r--r--gtk/ui/gtkprintunixdialog.ui37
-rw-r--r--gtk/ui/gtkrecentchooserdefault.ui3
-rw-r--r--gtk/ui/gtkscalebutton.ui4
-rw-r--r--gtk/ui/gtktooltipwindow.ui4
40 files changed, 140 insertions, 370 deletions
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index a6aa7c79e1..bc06fbd623 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -412,7 +412,7 @@ gtk_action_bar_pack_start (GtkActionBar *action_bar,
{
GtkActionBarPrivate *priv = gtk_action_bar_get_instance_private (action_bar);
- gtk_box_pack_start (GTK_BOX (priv->box), child, TRUE);
+ gtk_box_pack_start (GTK_BOX (priv->box), child);
}
/**
@@ -431,7 +431,7 @@ gtk_action_bar_pack_end (GtkActionBar *action_bar,
{
GtkActionBarPrivate *priv = gtk_action_bar_get_instance_private (action_bar);
- gtk_box_pack_end (GTK_BOX (priv->box), child, TRUE);
+ gtk_box_pack_end (GTK_BOX (priv->box), child);
}
/**
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c
index 11d844f1de..ee33f0f1a8 100644
--- a/gtk/gtkappchooserdialog.c
+++ b/gtk/gtkappchooserdialog.c
@@ -348,7 +348,7 @@ construct_appchooser_widget (GtkAppChooserDialog *self)
/* Need to build the appchooser widget after, because of the content-type construct-only property */
self->priv->app_chooser_widget = gtk_app_chooser_widget_new (self->priv->content_type);
gtk_widget_set_vexpand (self->priv->app_chooser_widget, TRUE);
- gtk_box_pack_start (GTK_BOX (self->priv->inner_box), self->priv->app_chooser_widget, TRUE);
+ gtk_box_pack_start (GTK_BOX (self->priv->inner_box), self->priv->app_chooser_widget);
g_signal_connect (self->priv->app_chooser_widget, "application-selected",
@@ -362,10 +362,10 @@ construct_appchooser_widget (GtkAppChooserDialog *self)
/* Add the custom button to the new appchooser */
gtk_box_pack_start (GTK_BOX (self->priv->inner_box),
- self->priv->show_more_button, FALSE);
+ self->priv->show_more_button);
gtk_box_pack_start (GTK_BOX (self->priv->inner_box),
- self->priv->software_button, FALSE);
+ self->priv->software_button);
info = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (self->priv->app_chooser_widget));
gtk_dialog_set_response_sensitive (GTK_DIALOG (self), GTK_RESPONSE_OK, info != NULL);
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 184aa49c45..3532d40803 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1727,14 +1727,14 @@ gtk_assistant_insert_page (GtkAssistant *assistant,
priv->pages = g_list_insert (priv->pages, page_info, position);
- gtk_box_pack_start (GTK_BOX (priv->sidebar), page_info->regular_title, FALSE);
- gtk_box_pack_start (GTK_BOX (priv->sidebar), page_info->current_title, FALSE);
+ gtk_box_pack_start (GTK_BOX (priv->sidebar), page_info->regular_title);
+ gtk_box_pack_start (GTK_BOX (priv->sidebar), page_info->current_title);
gtk_box_reorder_child (GTK_BOX (priv->sidebar), page_info->regular_title, 2 * position);
gtk_box_reorder_child (GTK_BOX (priv->sidebar), page_info->current_title, 2 * position + 1);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_widget_show (box);
- gtk_box_pack_start (GTK_BOX (box), page, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), page);
g_object_set (box, "margin", 12, NULL);
g_signal_connect (box, "remove", G_CALLBACK (assistant_remove_page_cb), assistant);
@@ -1837,7 +1837,7 @@ add_to_action_area (GtkAssistant *assistant,
gtk_widget_set_valign (child, GTK_ALIGN_BASELINE);
- gtk_box_pack_end (GTK_BOX (priv->action_area), child, FALSE);
+ gtk_box_pack_end (GTK_BOX (priv->action_area), child);
}
/**
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index cb849fd32c..ce8cc54a9e 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -145,7 +145,7 @@ static void
gtk_button_box_add (GtkContainer *container,
GtkWidget *widget)
{
- gtk_box_pack_start (GTK_BOX (container), widget, TRUE);
+ gtk_box_pack_start (GTK_BOX (container), widget);
}
static void
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 34f57eb478..26a78ece15 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -49,8 +49,7 @@
* both ends of the same GtkBox.
*
* Because GtkBox is a #GtkContainer, you may also use gtk_container_add()
- * to insert widgets into the box, and they will be packed with the default
- * values for expand and fill child properties. Use gtk_container_remove()
+ * to insert widgets into the box. Use gtk_container_remove()
* to remove widgets from the GtkBox.
*
* Use gtk_box_set_homogeneous() to specify whether or not all children
@@ -63,10 +62,6 @@
* Use gtk_box_reorder_child() to move a GtkBox child to a different
* place in the box.
*
- * Use gtk_box_set_child_packing() to reset the expand and
- * fill child properties.
- * Use gtk_box_query_child_packing() to query these fields.
- *
* Note that a single-row or single-column #GtkGrid provides exactly
* the same functionality as #GtkBox.
*
@@ -112,7 +107,6 @@ enum {
enum {
CHILD_PROP_0,
- CHILD_PROP_FILL,
CHILD_PROP_PACK_TYPE,
CHILD_PROP_POSITION,
LAST_CHILD_PROP
@@ -140,9 +134,6 @@ static GParamSpec *child_props[LAST_CHILD_PROP] = { NULL, };
* GtkBoxChild:
* @widget: the child widget, packed into the GtkBox.
* neighbors, set when packed, zero by default.
- * @fill: flag indicates whether any extra space given to this child due to its
- * @expand attribute being set is actually allocated to the child, rather than
- * being used as padding around the widget; set when packed, %TRUE by default.
* @pack: one of #GtkPackType indicating whether the child is packed with
* reference to the start (top/left) or end (bottom/right) of the GtkBox.
*/
@@ -150,7 +141,6 @@ struct _GtkBoxChild
{
GtkWidget *widget;
- guint fill : 1;
guint pack : 1;
};
@@ -270,22 +260,6 @@ gtk_box_class_init (GtkBoxClass *class)
g_object_class_install_properties (object_class, LAST_PROP, props);
- /**
- * GtkBox:fill:
- *
- * Whether the child should receive extra space when the parent grows.
- *
- * Note that the #GtkWidget:halign, #GtkWidget:valign, #GtkWidget:hexpand
- * and #GtkWidget:vexpand properties are the preferred way to influence
- * child size allocation in containers.
- */
- child_props[CHILD_PROP_FILL] =
- g_param_spec_boolean ("fill",
- P_("Fill"),
- P_("Whether extra space given to the child should be allocated to the child or used as padding"),
- TRUE,
- GTK_PARAM_READWRITE);
-
child_props[CHILD_PROP_PACK_TYPE] =
g_param_spec_enum ("pack-type",
P_("Pack type"),
@@ -612,10 +586,7 @@ gtk_box_size_allocate_no_center (GtkWidget *widget,
int child_allocation_width;
int child_minimum_height, child_natural_height;
- if (child->fill)
- child_allocation_width = MAX (1, child_size);
- else
- child_allocation_width = sizes[i].minimum_size;
+ child_allocation_width = MAX (1, child_size);
child_minimum_baseline = -1;
child_natural_baseline = -1;
@@ -706,16 +677,8 @@ gtk_box_size_allocate_no_center (GtkWidget *widget,
/* Assign the child's position. */
if (private->orientation == GTK_ORIENTATION_HORIZONTAL)
{
- if (child->fill)
- {
- child_allocation.width = MAX (1, child_size);
- child_allocation.x = x;
- }
- else
- {
- child_allocation.width = sizes[i].minimum_size;
- child_allocation.x = x + (child_size - child_allocation.width) / 2;
- }
+ child_allocation.width = MAX (1, child_size);
+ child_allocation.x = x;
if (packing == GTK_PACK_START)
{
@@ -734,16 +697,8 @@ gtk_box_size_allocate_no_center (GtkWidget *widget,
}
else /* (private->orientation == GTK_ORIENTATION_VERTICAL) */
{
- if (child->fill)
- {
- child_allocation.height = MAX (1, child_size);
- child_allocation.y = y;
- }
- else
- {
- child_allocation.height = sizes[i].minimum_size;
- child_allocation.y = y + (child_size - child_allocation.height) / 2;
- }
+ child_allocation.height = MAX (1, child_size);
+ child_allocation.y = y;
if (packing == GTK_PACK_START)
{
@@ -957,10 +912,7 @@ gtk_box_size_allocate_with_center (GtkWidget *widget,
gint child_allocation_width;
gint child_minimum_height, child_natural_height;
- if (child->fill)
- child_allocation_width = MAX (1, child_size);
- else
- child_allocation_width = sizes[packing][i].minimum_size;
+ child_allocation_width = MAX (1, child_size);
child_minimum_baseline = -1;
child_natural_baseline = -1;
@@ -1050,16 +1002,8 @@ gtk_box_size_allocate_with_center (GtkWidget *widget,
/* Assign the child's position. */
if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
{
- if (child->fill)
- {
- child_allocation.width = MAX (1, child_size);
- child_allocation.x = x;
- }
- else
- {
- child_allocation.width = sizes[packing][i].minimum_size;
- child_allocation.x = x + (child_size - child_allocation.width) / 2;
- }
+ child_allocation.width = MAX (1, child_size);
+ child_allocation.x = x;
if ((packing == GTK_PACK_START && direction == GTK_TEXT_DIR_LTR) ||
(packing == GTK_PACK_END && direction == GTK_TEXT_DIR_RTL))
@@ -1074,16 +1018,8 @@ gtk_box_size_allocate_with_center (GtkWidget *widget,
}
else /* (private->orientation == GTK_ORIENTATION_VERTICAL) */
{
- if (child->fill)
- {
- child_allocation.height = MAX (1, child_size);
- child_allocation.y = y;
- }
- else
- {
- child_allocation.height = sizes[packing][i].minimum_size;
- child_allocation.y = y + (child_size - child_allocation.height) / 2;
- }
+ child_allocation.height = MAX (1, child_size);
+ child_allocation.y = y;
if (packing == GTK_PACK_START)
{
@@ -1187,26 +1123,11 @@ gtk_box_set_child_property (GtkContainer *container,
const GValue *value,
GParamSpec *pspec)
{
- gboolean fill = 0;
- GtkPackType pack_type = 0;
-
- if (property_id != CHILD_PROP_POSITION)
- gtk_box_query_child_packing (GTK_BOX (container),
- child,
- &fill,
- &pack_type);
switch (property_id)
{
- case CHILD_PROP_FILL:
- gtk_box_set_child_packing (GTK_BOX (container),
- child,
- g_value_get_boolean (value),
- pack_type);
- break;
case CHILD_PROP_PACK_TYPE:
gtk_box_set_child_packing (GTK_BOX (container),
child,
- fill,
g_value_get_enum (value));
break;
case CHILD_PROP_POSITION:
@@ -1227,22 +1148,16 @@ gtk_box_get_child_property (GtkContainer *container,
GValue *value,
GParamSpec *pspec)
{
- gboolean fill = FALSE;
GtkPackType pack_type = 0;
GList *list;
- if (property_id != CHILD_PROP_POSITION)
- gtk_box_query_child_packing (GTK_BOX (container),
- child,
- &fill,
- &pack_type);
switch (property_id)
{
guint i;
- case CHILD_PROP_FILL:
- g_value_set_boolean (value, fill);
- break;
case CHILD_PROP_PACK_TYPE:
+ gtk_box_query_child_packing (GTK_BOX (container),
+ child,
+ &pack_type);
g_value_set_enum (value, pack_type);
break;
case CHILD_PROP_POSITION:
@@ -1431,7 +1346,6 @@ gtk_box_direction_changed (GtkWidget *widget,
static GtkBoxChild *
gtk_box_pack (GtkBox *box,
GtkWidget *child,
- gboolean fill,
GtkPackType pack_type)
{
GtkContainer *container = GTK_CONTAINER (box);
@@ -1444,7 +1358,6 @@ gtk_box_pack (GtkBox *box,
child_info = g_new (GtkBoxChild, 1);
child_info->widget = child;
- child_info->fill = fill ? TRUE : FALSE;
child_info->pack = pack_type;
private->children = g_list_append (private->children, child_info);
@@ -1454,8 +1367,6 @@ gtk_box_pack (GtkBox *box,
gtk_widget_set_parent (child, GTK_WIDGET (box));
- if (!fill)
- gtk_container_child_notify_by_pspec (container, child, child_props[CHILD_PROP_FILL]);
if (pack_type != GTK_PACK_START)
gtk_container_child_notify_by_pspec (container, child, child_props[CHILD_PROP_PACK_TYPE]);
gtk_container_child_notify_by_pspec (container, child, child_props[CHILD_PROP_POSITION]);
@@ -1785,10 +1696,7 @@ gtk_box_compute_size_for_opposing_orientation (GtkBox *box,
}
}
- if (child->fill)
- child_size = MAX (1, child_size);
- else
- child_size = sizes[i].minimum_size;
+ child_size = MAX (1, child_size);
child_minimum_baseline = child_natural_baseline = -1;
@@ -1999,11 +1907,6 @@ gtk_box_new (GtkOrientation orientation,
* gtk_box_pack_start:
* @box: a #GtkBox
* @child: the #GtkWidget to be added to @box
- * @fill: %TRUE if space given to @child by the @expand option is
- * actually allocated to @child, rather than just padding it. This
- * parameter has no effect if @expand is set to %FALSE. A child is
- * always allocated the full height of a horizontal #GtkBox and the full width
- * of a vertical #GtkBox. This option affects the other dimension
*
* Adds @child to @box, packed with reference to the start of @box.
* The @child is packed after any other child packed with reference
@@ -2011,21 +1914,15 @@ gtk_box_new (GtkOrientation orientation,
*/
void
gtk_box_pack_start (GtkBox *box,
- GtkWidget *child,
- gboolean fill)
+ GtkWidget *child)
{
- gtk_box_pack (box, child, fill, GTK_PACK_START);
+ gtk_box_pack (box, child, GTK_PACK_START);
}
/**
* gtk_box_pack_end:
* @box: a #GtkBox
* @child: the #GtkWidget to be added to @box
- * @fill: %TRUE if space given to @child by the @expand option is
- * actually allocated to @child, rather than just padding it. This
- * parameter has no effect if @expand is set to %FALSE. A child is
- * always allocated the full height of a horizontal #GtkBox and the full width
- * of a vertical #GtkBox. This option affects the other dimension
*
* Adds @child to @box, packed with reference to the end of @box.
* The @child is packed after (away from end of) any other child
@@ -2033,10 +1930,9 @@ gtk_box_pack_start (GtkBox *box,
*/
void
gtk_box_pack_end (GtkBox *box,
- GtkWidget *child,
- gboolean fill)
+ GtkWidget *child)
{
- gtk_box_pack (box, child, fill, GTK_PACK_END);
+ gtk_box_pack (box, child, GTK_PACK_END);
}
/**
@@ -2255,8 +2151,6 @@ gtk_box_reorder_child (GtkBox *box,
* gtk_box_query_child_packing:
* @box: a #GtkBox
* @child: the #GtkWidget of the child to query
- * @fill: (out) (optional): pointer to return location for fill child
- * property
* @pack_type: (out) (optional): pointer to return location for pack-type
* child property
*
@@ -2265,7 +2159,6 @@ gtk_box_reorder_child (GtkBox *box,
void
gtk_box_query_child_packing (GtkBox *box,
GtkWidget *child,
- gboolean *fill,
GtkPackType *pack_type)
{
GtkBoxPrivate *private;
@@ -2289,8 +2182,6 @@ gtk_box_query_child_packing (GtkBox *box,
if (list)
{
- if (fill)
- *fill = child_info->fill;
if (pack_type)
*pack_type = child_info->pack;
}
@@ -2300,7 +2191,6 @@ gtk_box_query_child_packing (GtkBox *box,
* gtk_box_set_child_packing:
* @box: a #GtkBox
* @child: the #GtkWidget of the child to set
- * @fill: the new value of the fill child property
* @pack_type: the new value of the pack-type child property
*
* Sets the way @child is packed into @box.
@@ -2308,7 +2198,6 @@ gtk_box_query_child_packing (GtkBox *box,
void
gtk_box_set_child_packing (GtkBox *box,
GtkWidget *child,
- gboolean fill,
GtkPackType pack_type)
{
GtkBoxPrivate *private;
@@ -2333,14 +2222,6 @@ gtk_box_set_child_packing (GtkBox *box,
gtk_widget_freeze_child_notify (child);
if (list)
{
- fill = fill != FALSE;
-
- if (child_info->fill != fill)
- {
- child_info->fill = fill;
- gtk_container_child_notify_by_pspec (GTK_CONTAINER (box), child, child_props[CHILD_PROP_FILL]);
- }
-
if (pack_type != GTK_PACK_END)
pack_type = GTK_PACK_START;
if (child_info->pack != pack_type)
@@ -2361,8 +2242,7 @@ static void
gtk_box_add (GtkContainer *container,
GtkWidget *widget)
{
- gtk_box_pack_start (GTK_BOX (container), widget,
- TRUE);
+ gtk_box_pack_start (GTK_BOX (container), widget);
}
static void
@@ -2502,7 +2382,7 @@ gtk_box_set_center_widget (GtkBox *box,
}
if (widget)
- priv->center = gtk_box_pack (box, widget, TRUE, GTK_PACK_START);
+ priv->center = gtk_box_pack (box, widget, GTK_PACK_START);
if (old_center)
g_object_unref (old_center);
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h
index af99839b48..79abe10ba4 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -82,12 +82,10 @@ GtkWidget* gtk_box_new (GtkOrientation orientation,
GDK_AVAILABLE_IN_ALL
void gtk_box_pack_start (GtkBox *box,
- GtkWidget *child,
- gboolean fill);
+ GtkWidget *child);
GDK_AVAILABLE_IN_ALL
void gtk_box_pack_end (GtkBox *box,
- GtkWidget *child,
- gboolean fill);
+ GtkWidget *child);
GDK_AVAILABLE_IN_ALL
void gtk_box_set_homogeneous (GtkBox *box,
@@ -113,12 +111,10 @@ void gtk_box_reorder_child (GtkBox *box,
GDK_AVAILABLE_IN_ALL
void gtk_box_query_child_packing (GtkBox *box,
GtkWidget *child,
- gboolean *fill,
GtkPackType *pack_type);
GDK_AVAILABLE_IN_ALL
void gtk_box_set_child_packing (GtkBox *box,
GtkWidget *child,
- gboolean fill,
GtkPackType pack_type);
GDK_AVAILABLE_IN_3_12
diff --git a/gtk/gtkcolorchooserwidget.c b/gtk/gtkcolorchooserwidget.c
index 259a6aeee8..57b93c77fb 100644
--- a/gtk/gtkcolorchooserwidget.c
+++ b/gtk/gtkcolorchooserwidget.c
@@ -535,12 +535,12 @@ gtk_color_chooser_widget_init (GtkColorChooserWidget *cc)
cc->priv->custom = box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
g_object_set (box, "margin-top", 12, NULL);
- gtk_box_pack_end (GTK_BOX (cc->priv->palette), box, FALSE);
+ gtk_box_pack_end (GTK_BOX (cc->priv->palette), box);
/* translators: label for the custom section in the color chooser */
cc->priv->custom_label = label = gtk_label_new (_("Custom"));
gtk_widget_set_halign (label, GTK_ALIGN_START);
- gtk_box_pack_end (GTK_BOX (cc->priv->palette), label, FALSE);
+ gtk_box_pack_end (GTK_BOX (cc->priv->palette), label);
cc->priv->button = button = gtk_color_swatch_new ();
gtk_widget_set_name (button, "add-color-button");
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c
index cc9e42f162..f0aeaab1bf 100644
--- a/gtk/gtkcustompaperunixdialog.c
+++ b/gtk/gtkcustompaperunixdialog.c
@@ -555,7 +555,7 @@ new_unit_widget (GtkCustomPaperUnixDialog *dialog,
else
gtk_spin_button_set_digits (GTK_SPIN_BUTTON (button), 1);
- gtk_box_pack_start (GTK_BOX (hbox), button, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), button);
gtk_widget_show (button);
data->spin_button = button;
@@ -569,7 +569,7 @@ new_unit_widget (GtkCustomPaperUnixDialog *dialog,
label = gtk_label_new (_("mm"));
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
- gtk_box_pack_start (GTK_BOX (hbox), label, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), label);
gtk_widget_show (label);
gtk_label_set_mnemonic_widget (GTK_LABEL (mnemonic_label), button);
@@ -979,13 +979,13 @@ wrap_in_frame (const gchar *label,
g_free (bold_text);
frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_box_pack_start (GTK_BOX (frame), label_widget, FALSE);
+ gtk_box_pack_start (GTK_BOX (frame), label_widget);
gtk_widget_set_margin_start (child, 12);
gtk_widget_set_halign (child, GTK_ALIGN_FILL);
gtk_widget_set_valign (child, GTK_ALIGN_FILL);
- gtk_box_pack_start (GTK_BOX (frame), child, FALSE);
+ gtk_box_pack_start (GTK_BOX (frame), child);
gtk_widget_show (frame);
@@ -1036,11 +1036,11 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 18);
- gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (content_area), hbox);
gtk_widget_show (hbox);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), vbox);
gtk_widget_show (vbox);
scrolled = gtk_scrolled_window_new (NULL, NULL);
@@ -1048,7 +1048,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled),
GTK_SHADOW_IN);
- gtk_box_pack_start (GTK_BOX (vbox), scrolled, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), scrolled);
gtk_widget_show (scrolled);
treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (priv->custom_paper_list));
@@ -1079,7 +1079,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
context = gtk_widget_get_style_context (toolbar);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_INLINE_TOOLBAR);
- gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), toolbar);
gtk_widget_show (toolbar);
icon = g_themed_icon_new_with_default_fallbacks ("list-add-symbolic");
@@ -1098,7 +1098,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
priv->values_box = vbox;
- gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), vbox);
gtk_widget_show (vbox);
grid = gtk_grid_new ();
@@ -1130,7 +1130,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
frame = wrap_in_frame (_("Paper Size"), grid);
gtk_widget_show (grid);
- gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), frame);
gtk_widget_show (frame);
grid = gtk_grid_new ();
@@ -1203,7 +1203,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
NULL, NULL);
gtk_combo_box_set_active (GTK_COMBO_BOX (combo), 0);
- gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), combo);
gtk_widget_show (combo);
g_signal_connect_swapped (combo, "changed",
@@ -1211,7 +1211,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
frame = wrap_in_frame (_("Paper Margins"), grid);
gtk_widget_show (grid);
- gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), frame);
gtk_widget_show (frame);
update_custom_widgets_from_list (dialog);
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 803fc53c43..856cf0e578 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1324,7 +1324,7 @@ gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
gtk_tree_path_free (path);
gtk_box_pack_start (GTK_BOX (completion->priv->vbox),
- completion->priv->action_view, FALSE);
+ completion->priv->action_view);
gtk_widget_show (completion->priv->action_view);
}
}
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 3bc7aad03f..82f2d8656a 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -926,7 +926,7 @@ update_preview_widget_visibility (GtkFileChooserWidget *impl)
if (!priv->preview_label)
{
priv->preview_label = gtk_label_new (priv->preview_display_name);
- gtk_box_pack_start (GTK_BOX (priv->preview_box), priv->preview_label, FALSE);
+ gtk_box_pack_start (GTK_BOX (priv->preview_box), priv->preview_label);
gtk_box_reorder_child (GTK_BOX (priv->preview_box), priv->preview_label, 0);
gtk_label_set_ellipsize (GTK_LABEL (priv->preview_label), PANGO_ELLIPSIZE_MIDDLE);
gtk_widget_show (priv->preview_label);
@@ -967,7 +967,7 @@ set_preview_widget (GtkFileChooserWidget *impl,
if (priv->preview_widget)
{
gtk_widget_show (priv->preview_widget);
- gtk_box_pack_start (GTK_BOX (priv->preview_box), priv->preview_widget, TRUE);
+ gtk_box_pack_start (GTK_BOX (priv->preview_box), priv->preview_widget);
gtk_box_reorder_child (GTK_BOX (priv->preview_box),
priv->preview_widget,
(priv->use_preview_label && priv->preview_label) ? 1 : 0);
@@ -2687,7 +2687,7 @@ save_widgets_create (GtkFileChooserWidget *impl)
gtk_style_context_add_class (gtk_widget_get_style_context (vbox), "search-bar");
priv->save_widgets_table = gtk_grid_new ();
- gtk_box_pack_start (GTK_BOX (vbox), priv->save_widgets_table, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), priv->save_widgets_table);
gtk_grid_set_row_spacing (GTK_GRID (priv->save_widgets_table), 12);
gtk_grid_set_column_spacing (GTK_GRID (priv->save_widgets_table), 12);
@@ -2707,7 +2707,7 @@ save_widgets_create (GtkFileChooserWidget *impl)
gtk_label_set_mnemonic_widget (GTK_LABEL (widget), priv->location_entry);
priv->save_widgets = vbox;
- gtk_box_pack_start (GTK_BOX (impl), priv->save_widgets, FALSE);
+ gtk_box_pack_start (GTK_BOX (impl), priv->save_widgets);
gtk_box_reorder_child (GTK_BOX (impl), priv->save_widgets, 0);
gtk_widget_show (priv->save_widgets);
}
@@ -2774,7 +2774,7 @@ location_switch_to_filename_entry (GtkFileChooserWidget *impl)
if (!priv->location_entry)
{
location_entry_create (impl);
- gtk_box_pack_start (GTK_BOX (priv->location_entry_box), priv->location_entry, TRUE);
+ gtk_box_pack_start (GTK_BOX (priv->location_entry_box), priv->location_entry);
}
_gtk_file_chooser_entry_set_base_folder (GTK_FILE_CHOOSER_ENTRY (priv->location_entry), priv->current_folder);
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 4473d41db5..0055f3be19 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -140,7 +140,7 @@ init_sizing_box (GtkHeaderBar *bar)
w = gtk_label_new (NULL);
context = gtk_widget_get_style_context (w);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLE);
- gtk_box_pack_start (GTK_BOX (priv->label_sizing_box), w, FALSE);
+ gtk_box_pack_start (GTK_BOX (priv->label_sizing_box), w);
gtk_label_set_line_wrap (GTK_LABEL (w), FALSE);
gtk_label_set_single_line_mode (GTK_LABEL (w), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
@@ -149,7 +149,7 @@ init_sizing_box (GtkHeaderBar *bar)
w = gtk_label_new (NULL);
context = gtk_widget_get_style_context (w);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SUBTITLE);
- gtk_box_pack_start (GTK_BOX (priv->label_sizing_box), w, FALSE);
+ gtk_box_pack_start (GTK_BOX (priv->label_sizing_box), w);
gtk_label_set_line_wrap (GTK_LABEL (w), FALSE);
gtk_label_set_single_line_mode (GTK_LABEL (w), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
@@ -177,7 +177,7 @@ create_title_box (const char *title,
gtk_label_set_line_wrap (GTK_LABEL (title_label), FALSE);
gtk_label_set_single_line_mode (GTK_LABEL (title_label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (title_label), PANGO_ELLIPSIZE_END);
- gtk_box_pack_start (GTK_BOX (label_box), title_label, FALSE);
+ gtk_box_pack_start (GTK_BOX (label_box), title_label);
gtk_label_set_width_chars (GTK_LABEL (title_label), MIN_TITLE_CHARS);
subtitle_label = gtk_label_new (subtitle);
@@ -186,7 +186,7 @@ create_title_box (const char *title,
gtk_label_set_line_wrap (GTK_LABEL (subtitle_label), FALSE);
gtk_label_set_single_line_mode (GTK_LABEL (subtitle_label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (subtitle_label), PANGO_ELLIPSIZE_END);
- gtk_box_pack_start (GTK_BOX (label_box), subtitle_label, FALSE);
+ gtk_box_pack_start (GTK_BOX (label_box), subtitle_label);
gtk_widget_set_visible (subtitle_label, subtitle && subtitle[0]);
if (ret_title_label)
@@ -441,7 +441,7 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
if (button)
{
- gtk_box_pack_start (GTK_BOX (box), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), button);
n_children ++;
}
}
@@ -456,7 +456,7 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
continue;
}
- gtk_box_pack_start (GTK_BOX (box), separator, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), separator);
if (i == 1)
gtk_box_reorder_child (GTK_BOX (box), separator, 0);
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 97b601c919..5f29c06993 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -518,8 +518,7 @@ gtk_info_bar_add_action_widget (GtkInfoBar *info_bar,
else
g_warning ("Only 'activatable' widgets can be packed into the action area of a GtkInfoBar");
- gtk_box_pack_end (GTK_BOX (info_bar->priv->action_area),
- child, FALSE);
+ gtk_box_pack_end (GTK_BOX (info_bar->priv->action_area), child);
if (response_id == GTK_RESPONSE_HELP)
gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (info_bar->priv->action_area),
child, TRUE);
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c
index 9dda6a9085..3179290142 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);
+ gtk_box_pack_start (GTK_BOX (box), box->separator);
else
gtk_container_remove (GTK_CONTAINER (box), box->separator);
}
@@ -343,7 +343,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);
+ gtk_box_pack_end (GTK_BOX (box), item_box);
gtk_widget_set_halign (GTK_WIDGET (item_box), GTK_ALIGN_FILL);
gtk_widget_set_halign (GTK_WIDGET (box), GTK_ALIGN_FILL);
@@ -451,7 +451,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);
+ gtk_box_pack_start (GTK_BOX (box), button);
g_signal_connect (focus, "clicked", G_CALLBACK (open_submenu), item);
g_signal_connect (button, "clicked", G_CALLBACK (close_submenu), item);
@@ -512,17 +512,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);
+ gtk_box_pack_start (GTK_BOX (box->separator), separator);
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);
+ gtk_box_pack_start (GTK_BOX (box->separator), title);
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);
+ gtk_box_pack_start (GTK_BOX (box->separator), separator);
}
else
{
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c
index 05509ff5a9..d34d02d229 100644
--- a/gtk/gtkmenutoolbutton.c
+++ b/gtk/gtkmenutoolbutton.c
@@ -140,8 +140,7 @@ gtk_menu_tool_button_construct_contents (GtkMenuToolButton *button)
g_object_ref (priv->arrow_button);
gtk_container_remove (GTK_CONTAINER (parent),
priv->arrow_button);
- gtk_box_pack_end (GTK_BOX (box), priv->arrow_button,
- FALSE);
+ gtk_box_pack_end (GTK_BOX (box), priv->arrow_button);
g_object_unref (priv->arrow_button);
}
@@ -285,8 +284,7 @@ gtk_menu_tool_button_init (GtkMenuToolButton *button)
g_object_unref (real_button);
arrow_button = gtk_menu_button_new ();
- gtk_box_pack_end (GTK_BOX (box), arrow_button,
- FALSE);
+ gtk_box_pack_end (GTK_BOX (box), arrow_button);
/* the arrow button is insentive until we set a menu */
gtk_widget_set_sensitive (arrow_button, FALSE);
diff --git a/gtk/gtkmodelmenuitem.c b/gtk/gtkmodelmenuitem.c
index 888bc8e42e..2cf12eff8c 100644
--- a/gtk/gtkmodelmenuitem.c
+++ b/gtk/gtkmodelmenuitem.c
@@ -180,7 +180,7 @@ gtk_model_menu_item_set_icon (GtkModelMenuItem *item,
/* Reparent the child without destroying it */
g_object_ref (child);
gtk_container_remove (GTK_CONTAINER (item), child);
- gtk_box_pack_end (GTK_BOX (box), child, TRUE);
+ gtk_box_pack_end (GTK_BOX (box), child);
g_object_unref (child);
gtk_container_add (GTK_CONTAINER (item), box);
@@ -200,7 +200,7 @@ gtk_model_menu_item_set_icon (GtkModelMenuItem *item,
image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_MENU);
gtk_image_set_pixel_size (GTK_IMAGE (image), 16);
- gtk_box_pack_start (GTK_BOX (child), image, FALSE);
+ gtk_box_pack_start (GTK_BOX (child), image);
}
g_object_notify (G_OBJECT (item), "icon");
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 1ddaa1929b..2f5189d97c 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -547,17 +547,17 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
/* Build contents */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
- gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (content_area), hbox);
icon = gtk_image_new_from_icon_name ("dialog-password",
GTK_ICON_SIZE_DIALOG);
gtk_widget_set_halign (icon, GTK_ALIGN_CENTER);
gtk_widget_set_valign (icon, GTK_ALIGN_START);
- gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), icon);
main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
- gtk_box_pack_start (GTK_BOX (hbox), main_vbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), main_vbox);
secondary = strstr (message, "\n");
if (secondary != NULL)
@@ -573,8 +573,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
- gtk_box_pack_start (GTK_BOX (main_vbox), GTK_WIDGET (label),
- TRUE);
+ gtk_box_pack_start (GTK_BOX (main_vbox), GTK_WIDGET (label));
g_free (primary);
attrs = pango_attr_list_new ();
pango_attr_list_insert (attrs, pango_attr_weight_new (PANGO_WEIGHT_BOLD));
@@ -587,8 +586,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
- gtk_box_pack_start (GTK_BOX (main_vbox), GTK_WIDGET (label),
- FALSE);
+ gtk_box_pack_start (GTK_BOX (main_vbox), GTK_WIDGET (label));
}
grid = gtk_grid_new ();
@@ -596,7 +594,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
gtk_grid_set_row_spacing (GTK_GRID (grid), 12);
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_widget_set_margin_bottom (grid, 12);
- gtk_box_pack_start (GTK_BOX (main_vbox), grid, FALSE);
+ gtk_box_pack_start (GTK_BOX (main_vbox), grid);
can_anonymous = priv->ask_flags & G_ASK_PASSWORD_ANONYMOUS_SUPPORTED;
@@ -620,8 +618,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
choice = gtk_radio_button_new_with_mnemonic (NULL, _("_Anonymous"));
gtk_box_pack_start (GTK_BOX (anon_box),
- choice,
- FALSE);
+ choice);
g_signal_connect (choice, "toggled",
G_CALLBACK (pw_dialog_anonymous_toggled), operation);
priv->anonymous_toggle = choice;
@@ -629,8 +626,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (choice));
choice = gtk_radio_button_new_with_mnemonic (group, _("Registered U_ser"));
gtk_box_pack_start (GTK_BOX (anon_box),
- choice,
- FALSE);
+ choice);
g_signal_connect (choice, "toggled",
G_CALLBACK (pw_dialog_anonymous_toggled), operation);
}
@@ -678,7 +674,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
GINT_TO_POINTER (G_PASSWORD_SAVE_NEVER));
g_signal_connect (choice, "toggled",
G_CALLBACK (remember_button_toggled), operation);
- gtk_box_pack_start (GTK_BOX (remember_box), choice, FALSE);
+ gtk_box_pack_start (GTK_BOX (remember_box), choice);
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (choice));
choice = gtk_radio_button_new_with_mnemonic (group, _("Remember password until you _logout"));
@@ -688,7 +684,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
GINT_TO_POINTER (G_PASSWORD_SAVE_FOR_SESSION));
g_signal_connect (choice, "toggled",
G_CALLBACK (remember_button_toggled), operation);
- gtk_box_pack_start (GTK_BOX (remember_box), choice, FALSE);
+ gtk_box_pack_start (GTK_BOX (remember_box), choice);
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (choice));
choice = gtk_radio_button_new_with_mnemonic (group, _("Remember _forever"));
@@ -698,7 +694,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
GINT_TO_POINTER (G_PASSWORD_SAVE_PERMANENTLY));
g_signal_connect (choice, "toggled",
G_CALLBACK (remember_button_toggled), operation);
- gtk_box_pack_start (GTK_BOX (remember_box), choice, FALSE);
+ gtk_box_pack_start (GTK_BOX (remember_box), choice);
}
g_signal_connect (G_OBJECT (dialog), "response",
@@ -1403,7 +1399,7 @@ create_show_processes_dialog (GtkMountOperation *op,
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
- gtk_box_pack_start (GTK_BOX (content_area), vbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (content_area), vbox);
if (secondary != NULL)
s = g_strdup_printf ("<big><b>%s</b></big>\n\n%s", primary, secondary);
@@ -1414,7 +1410,7 @@ create_show_processes_dialog (GtkMountOperation *op,
label = gtk_label_new (NULL);
gtk_label_set_markup (GTK_LABEL (label), s);
g_free (s);
- gtk_box_pack_start (GTK_BOX (vbox), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), label);
/* First count the items in the list then
* add the buttons in reverse order */
@@ -1466,7 +1462,7 @@ create_show_processes_dialog (GtkMountOperation *op,
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window), GTK_SHADOW_IN);
gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);
- gtk_box_pack_start (GTK_BOX (vbox), scrolled_window, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), scrolled_window);
g_signal_connect (tree_view, "popup-menu",
G_CALLBACK (on_popup_menu_for_process_tree_view),
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index fe0d22874c..d5e9e29188 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1486,8 +1486,8 @@ make_directory_button (GtkPathBar *path_bar,
button_data->image = gtk_image_new ();
button_data->label = gtk_label_new (NULL);
child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- gtk_box_pack_start (GTK_BOX (child), button_data->image, FALSE);
- gtk_box_pack_start (GTK_BOX (child), button_data->label, FALSE);
+ gtk_box_pack_start (GTK_BOX (child), button_data->image);
+ gtk_box_pack_start (GTK_BOX (child), button_data->label);
break;
case NORMAL_BUTTON:
default:
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 0c850a0279..409427982f 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -789,12 +789,12 @@ request_password (GtkPrintBackend *backend,
/* Packing */
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_box_pack_start (GTK_BOX (content_area), main_box, FALSE);
+ gtk_box_pack_start (GTK_BOX (content_area), main_box);
- gtk_box_pack_start (GTK_BOX (main_box), icon, FALSE);
- gtk_box_pack_start (GTK_BOX (main_box), vbox, FALSE);
+ gtk_box_pack_start (GTK_BOX (main_box), icon);
+ gtk_box_pack_start (GTK_BOX (main_box), vbox);
- gtk_box_pack_start (GTK_BOX (vbox), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), label);
/* Right - 2. */
for (i = 0; i < length; i++)
@@ -820,10 +820,10 @@ request_password (GtkPrintBackend *backend,
gtk_entry_set_visibility (GTK_ENTRY (entry), ai_visible[i]);
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), box, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), box);
- gtk_box_pack_start (GTK_BOX (box), label, TRUE);
- gtk_box_pack_start (GTK_BOX (box), entry, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), label);
+ gtk_box_pack_start (GTK_BOX (box), entry);
g_signal_connect (entry, "changed",
G_CALLBACK (store_entry), &(priv->auth_info[i]));
@@ -836,7 +836,7 @@ request_password (GtkPrintBackend *backend,
gtk_widget_set_margin_top (chkbtn, 6);
gtk_widget_set_margin_bottom (chkbtn, 6);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (chkbtn), FALSE);
- gtk_box_pack_start (GTK_BOX (vbox), chkbtn, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), chkbtn);
g_signal_connect (chkbtn, "toggled",
G_CALLBACK (store_auth_info_toggled),
&(priv->store_auth_info));
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c
index b0a502d7e6..2bd5832556 100644
--- a/gtk/gtkprinteroptionwidget.c
+++ b/gtk/gtkprinteroptionwidget.c
@@ -737,7 +737,7 @@ alternative_append (GtkWidget *box,
button = gtk_radio_button_new_with_label (group, label);
gtk_widget_show (button);
gtk_widget_set_valign (button, GTK_ALIGN_BASELINE);
- gtk_box_pack_start (GTK_BOX (box), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), button);
g_object_set_data (G_OBJECT (button), "value", (gpointer)value);
g_signal_connect (button, "toggled",
@@ -768,7 +768,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
gtk_combo_box_set_active (GTK_COMBO_BOX (priv->combo), 0);
gtk_widget_set_sensitive (GTK_WIDGET (widget), FALSE);
gtk_widget_show (priv->combo);
- gtk_box_pack_start (GTK_BOX (widget), priv->combo, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->combo);
}
else switch (source->type)
{
@@ -776,7 +776,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
priv->check = gtk_check_button_new_with_mnemonic (source->display_text);
g_signal_connect (priv->check, "toggled", G_CALLBACK (check_toggled_cb), widget);
gtk_widget_show (priv->check);
- gtk_box_pack_start (GTK_BOX (widget), priv->check, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->check);
break;
case GTK_PRINTER_OPTION_TYPE_PICKONE:
case GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD:
@@ -808,7 +808,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
source->choices_display[i],
source->choices[i]);
gtk_widget_show (priv->combo);
- gtk_box_pack_start (GTK_BOX (widget), priv->combo, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->combo);
g_signal_connect (priv->combo, "changed", G_CALLBACK (combo_changed_cb), widget);
text = g_strdup_printf ("%s:", source->display_text);
@@ -822,7 +822,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
priv->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_set_valign (priv->box, GTK_ALIGN_BASELINE);
gtk_widget_show (priv->box);
- gtk_box_pack_start (GTK_BOX (widget), priv->box, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->box);
for (i = 0; i < source->num_choices; i++)
{
group = alternative_append (priv->box,
@@ -850,7 +850,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
gtk_entry_set_activates_default (GTK_ENTRY (priv->entry),
gtk_printer_option_get_activates_default (source));
gtk_widget_show (priv->entry);
- gtk_box_pack_start (GTK_BOX (widget), priv->entry, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->entry);
g_signal_connect (priv->entry, "changed", G_CALLBACK (entry_changed_cb), widget);
text = g_strdup_printf ("%s:", source->display_text);
@@ -863,7 +863,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
case GTK_PRINTER_OPTION_TYPE_FILESAVE:
priv->button = gtk_button_new ();
gtk_widget_show (priv->button);
- gtk_box_pack_start (GTK_BOX (widget), priv->button, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->button);
g_signal_connect (priv->button, "clicked", G_CALLBACK (filesave_choose_cb), widget);
text = g_strdup_printf ("%s:", source->display_text);
@@ -876,13 +876,11 @@ construct_widgets (GtkPrinterOptionWidget *widget)
case GTK_PRINTER_OPTION_TYPE_INFO:
priv->info_label = gtk_label_new (NULL);
gtk_label_set_selectable (GTK_LABEL (priv->info_label), TRUE);
- gtk_widget_show (priv->info_label);
- gtk_box_pack_start (GTK_BOX (widget), priv->info_label, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->info_label);
text = g_strdup_printf ("%s:", source->display_text);
priv->label = gtk_label_new_with_mnemonic (text);
g_free (text);
- gtk_widget_show (priv->label);
break;
@@ -891,7 +889,7 @@ construct_widgets (GtkPrinterOptionWidget *widget)
}
priv->image = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_MENU);
- gtk_box_pack_start (GTK_BOX (widget), priv->image, FALSE);
+ gtk_box_pack_start (GTK_BOX (widget), priv->image);
}
/*
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 2c014d4b40..19414e7b81 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -1306,13 +1306,13 @@ wrap_in_frame (const gchar *label,
g_free (bold_text);
frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_box_pack_start (GTK_BOX (frame), label_widget, FALSE);
+ gtk_box_pack_start (GTK_BOX (frame), label_widget);
gtk_widget_set_margin_start (child, 12);
gtk_widget_set_halign (child, GTK_ALIGN_FILL);
gtk_widget_set_valign (child, GTK_ALIGN_FILL);
- gtk_box_pack_start (GTK_BOX (frame), child, FALSE);
+ gtk_box_pack_start (GTK_BOX (frame), child);
gtk_widget_show (frame);
@@ -1357,14 +1357,14 @@ add_option_to_extension_point (GtkPrinterOption *option,
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_set_valign (hbox, GTK_ALIGN_BASELINE);
- gtk_box_pack_start (GTK_BOX (hbox), label, FALSE);
- gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), label);
+ gtk_box_pack_start (GTK_BOX (hbox), widget);
gtk_widget_show (hbox);
- gtk_box_pack_start (GTK_BOX (extension_point), hbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (extension_point), hbox);
}
else
- gtk_box_pack_start (GTK_BOX (extension_point), widget, TRUE);
+ gtk_box_pack_start (GTK_BOX (extension_point), widget);
}
static gint
@@ -1643,7 +1643,7 @@ update_dialog_from_settings (GtkPrintUnixDialog *dialog)
gtk_widget_show (frame);
gtk_box_pack_start (GTK_BOX (priv->advanced_vbox),
- frame, FALSE);
+ frame);
}
}
diff --git a/gtk/gtkrecentchooserdialog.c b/gtk/gtkrecentchooserdialog.c
index 2cbcc531e4..24e781ccc0 100644
--- a/gtk/gtkrecentchooserdialog.c
+++ b/gtk/gtkrecentchooserdialog.c
@@ -206,7 +206,7 @@ gtk_recent_chooser_dialog_constructed (GObject *object)
content_area = gtk_dialog_get_content_area (GTK_DIALOG (object));
gtk_box_pack_start (GTK_BOX (content_area),
- priv->chooser, TRUE);
+ priv->chooser);
_gtk_recent_chooser_set_delegate (GTK_RECENT_CHOOSER (object),
GTK_RECENT_CHOOSER (priv->chooser));
diff --git a/gtk/gtkshortcutssection.c b/gtk/gtkshortcutssection.c
index b14a76b5fd..65d6a31818 100644
--- a/gtk/gtkshortcutssection.c
+++ b/gtk/gtkshortcutssection.c
@@ -458,7 +458,7 @@ gtk_shortcuts_section_init (GtkShortcutsSection *self)
gtk_widget_set_hexpand (GTK_WIDGET (self->switcher), TRUE);
gtk_widget_set_halign (GTK_WIDGET (self->switcher), GTK_ALIGN_CENTER);
gtk_container_add (GTK_CONTAINER (self->footer), GTK_WIDGET (self->switcher));
- gtk_box_pack_end (GTK_BOX (self->footer), self->show_all, TRUE);
+ gtk_box_pack_end (GTK_BOX (self->footer), self->show_all);
gtk_widget_set_halign (self->show_all, GTK_ALIGN_END);
self->pan_gesture = gtk_gesture_pan_new (GTK_WIDGET (self->stack), GTK_ORIENTATION_HORIZONTAL);
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 6872f4b554..aaaa0c47a0 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -518,8 +518,8 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
else
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL,0);
if (icon)
- gtk_box_pack_start (GTK_BOX (box), icon, TRUE);
- gtk_box_pack_end (GTK_BOX (box), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), icon);
+ gtk_box_pack_end (GTK_BOX (box), label);
gtk_container_add (GTK_CONTAINER (button->priv->button), box);
gtk_style_context_add_class (gtk_widget_get_style_context (button->priv->button), "image-button");
gtk_style_context_add_class (gtk_widget_get_style_context (button->priv->button), "text-button");
@@ -530,17 +530,17 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
{
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
if (icon)
- gtk_box_pack_start (GTK_BOX (box), icon, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), icon);
if (label)
- gtk_box_pack_end (GTK_BOX (box), label, TRUE);
+ gtk_box_pack_end (GTK_BOX (box), label);
}
else
{
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
if (icon)
- gtk_box_pack_end (GTK_BOX (box), icon, TRUE);
+ gtk_box_pack_end (GTK_BOX (box), icon);
if (label)
- gtk_box_pack_start (GTK_BOX (box), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), label);
}
gtk_container_add (GTK_CONTAINER (button->priv->button), box);
gtk_style_context_add_class (gtk_widget_get_style_context (button->priv->button), "image-button");
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index df023db845..0e17119ef0 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -849,13 +849,13 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
if (priv->xalign <= 0.5)
{
- gtk_box_pack_start (GTK_BOX (hbox), priv->frame, TRUE);
- gtk_box_pack_start (GTK_BOX (hbox), priv->arrow, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), priv->frame);
+ gtk_box_pack_start (GTK_BOX (hbox), priv->arrow);
}
else
{
- gtk_box_pack_start (GTK_BOX (hbox), priv->arrow, FALSE);
- gtk_box_pack_start (GTK_BOX (hbox), priv->frame, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), priv->arrow);
+ gtk_box_pack_start (GTK_BOX (hbox), priv->frame);
}
gtk_container_add (GTK_CONTAINER (priv->frame), child);
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index 1f1ac64a46..28eae3fc73 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -138,13 +138,13 @@ add_check_row (GtkInspectorGeneral *gen,
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
- gtk_box_pack_start (GTK_BOX (box), label, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), label);
check = gtk_image_new_from_icon_name ("object-select-symbolic", GTK_ICON_SIZE_MENU);
gtk_widget_set_halign (check, GTK_ALIGN_END);
gtk_widget_set_valign (check, GTK_ALIGN_BASELINE);
gtk_widget_set_opacity (check, value ? 1.0 : 0.0);
- gtk_box_pack_start (GTK_BOX (box), check, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), check);
row = gtk_list_box_row_new ();
gtk_container_add (GTK_CONTAINER (row), box);
@@ -176,14 +176,14 @@ add_label_row (GtkInspectorGeneral *gen,
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
- gtk_box_pack_start (GTK_BOX (box), label, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), label);
label = gtk_label_new (value);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
gtk_widget_set_halign (label, GTK_ALIGN_END);
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
gtk_label_set_xalign (GTK_LABEL (label), 1.0);
- gtk_box_pack_start (GTK_BOX (box), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), label);
row = gtk_list_box_row_new ();
gtk_container_add (GTK_CONTAINER (row), box);
diff --git a/gtk/inspector/prop-editor.c b/gtk/inspector/prop-editor.c
index 72a54ac259..c963a8d276 100644
--- a/gtk/inspector/prop-editor.c
+++ b/gtk/inspector/prop-editor.c
@@ -938,7 +938,7 @@ property_editor (GObject *object,
first = b;
g_object_set_data (G_OBJECT (b), "index", GINT_TO_POINTER (j));
gtk_widget_show (b);
- gtk_box_pack_start (GTK_BOX (box), b, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), b);
connect_controller (G_OBJECT (b), "toggled",
object, spec, G_CALLBACK (enum_modified));
++j;
@@ -980,7 +980,7 @@ property_editor (GObject *object,
b = gtk_check_button_new_with_label (fclass->values[j].value_name);
g_object_set_data (G_OBJECT (b), "index", GINT_TO_POINTER (j));
gtk_widget_show (b);
- gtk_box_pack_start (GTK_BOX (box), b, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), b);
connect_controller (G_OBJECT (b), "toggled",
object, spec, G_CALLBACK (flags_modified));
}
@@ -1605,7 +1605,7 @@ add_gtk_settings_info (GtkInspectorPropEditor *editor)
gtk_widget_set_halign (button, GTK_ALIGN_END);
gtk_widget_show (button);
gtk_widget_set_sensitive (button, FALSE);
- gtk_box_pack_end (GTK_BOX (row), button, FALSE);
+ gtk_box_pack_end (GTK_BOX (row), button);
switch (_gtk_settings_get_setting_source (GTK_SETTINGS (object), name))
{
diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c
index be2c016c4b..aeb700752a 100644
--- a/gtk/inspector/recorder.c
+++ b/gtk/inspector/recorder.c
@@ -348,7 +348,7 @@ gtk_inspector_recorder_recordings_list_create_widget (gpointer item,
widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_box_pack_start (GTK_BOX (widget), hbox, TRUE);
+ gtk_box_pack_start (GTK_BOX (widget), hbox);
for (i = 0; i < g_list_model_get_n_items (priv->recordings); i++)
{
@@ -387,17 +387,17 @@ gtk_inspector_recorder_recordings_list_create_widget (gpointer item,
label = gtk_label_new (str);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
g_free (str);
- gtk_box_pack_start (GTK_BOX (hbox), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), label);
button = gtk_toggle_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_button_set_icon_name (GTK_BUTTON (button), "view-more-symbolic");
- gtk_box_pack_end (GTK_BOX (hbox), button, TRUE);
+ gtk_box_pack_end (GTK_BOX (hbox), button);
label = gtk_label_new (gtk_inspector_render_recording_get_profiler_info (GTK_INSPECTOR_RENDER_RECORDING (recording)));
gtk_widget_hide (label);
- gtk_box_pack_end (GTK_BOX (widget), label, FALSE);
+ gtk_box_pack_end (GTK_BOX (widget), label);
g_object_bind_property (button, "active", label, "visible", 0);
}
else
diff --git a/gtk/inspector/size-groups.c b/gtk/inspector/size-groups.c
index c69c40987b..fdc4e4d1f2 100644
--- a/gtk/inspector/size-groups.c
+++ b/gtk/inspector/size-groups.c
@@ -225,7 +225,7 @@ add_size_group (GtkInspectorSizeGroups *sl,
g_object_set (label, "margin", 10, NULL);
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
- gtk_box_pack_start (GTK_BOX (box2), label, TRUE);
+ gtk_box_pack_start (GTK_BOX (box2), label);
combo = gtk_combo_box_text_new ();
g_object_set (combo, "margin", 10, NULL);
@@ -238,7 +238,7 @@ add_size_group (GtkInspectorSizeGroups *sl,
g_object_bind_property (group, "mode",
combo, "active",
G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
- gtk_box_pack_start (GTK_BOX (box2), combo, FALSE);
+ gtk_box_pack_start (GTK_BOX (box2), combo);
listbox = gtk_list_box_new ();
gtk_container_add (GTK_CONTAINER (box), listbox);
diff --git a/gtk/inspector/strv-editor.c b/gtk/inspector/strv-editor.c
index 38c89f443f..0ea973bc0c 100644
--- a/gtk/inspector/strv-editor.c
+++ b/gtk/inspector/strv-editor.c
@@ -68,17 +68,17 @@ add_string (GtkInspectorStrvEditor *editor,
entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (entry), str);
gtk_widget_show (entry);
- gtk_box_pack_start (GTK_BOX (box), entry, TRUE);
+ gtk_box_pack_start (GTK_BOX (box), entry);
g_object_set_data (G_OBJECT (box), "entry", entry);
g_signal_connect_swapped (entry, "notify::text", G_CALLBACK (emit_changed), editor);
button = gtk_button_new_from_icon_name ("user-trash-symbolic", GTK_ICON_SIZE_MENU);
gtk_style_context_add_class (gtk_widget_get_style_context (button), "image-button");
gtk_widget_show (button);
- gtk_box_pack_start (GTK_BOX (box), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), button);
g_signal_connect (button, "clicked", G_CALLBACK (remove_string), editor);
- gtk_box_pack_start (GTK_BOX (editor->box), box, FALSE);
+ gtk_box_pack_start (GTK_BOX (editor->box), box);
gtk_widget_grab_focus (entry);
@@ -107,8 +107,8 @@ gtk_inspector_strv_editor_init (GtkInspectorStrvEditor *editor)
gtk_widget_show (editor->button);
g_signal_connect (editor->button, "clicked", G_CALLBACK (add_cb), editor);
- gtk_box_pack_start (GTK_BOX (editor), editor->box, TRUE);
- gtk_box_pack_start (GTK_BOX (editor), editor->button, FALSE);
+ gtk_box_pack_start (GTK_BOX (editor), editor->box);
+ gtk_box_pack_start (GTK_BOX (editor), editor->button);
}
static void
diff --git a/gtk/ui/gtkaboutdialog.ui b/gtk/ui/gtkaboutdialog.ui
index 2f8a33525e..6224fd4b7f 100644
--- a/gtk/ui/gtkaboutdialog.ui
+++ b/gtk/ui/gtkaboutdialog.ui
@@ -37,9 +37,6 @@
<property name="visible">1</property>
<property name="icon-name">image-missing</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="name_label">
@@ -49,7 +46,6 @@
<property name="selectable">1</property>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -74,9 +70,6 @@
<property name="justify">center</property>
<property name="selectable">1</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="comments_label">
@@ -87,9 +80,6 @@
<property name="selectable">1</property>
<property name="max-width-chars">60</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="website_label">
@@ -98,9 +88,6 @@
<property name="selectable">1</property>
<signal name="activate-link" handler="emit_activate_link" object="GtkAboutDialog" swapped="yes"/>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="copyright_label">
@@ -111,9 +98,6 @@
<property name="selectable">1</property>
<property name="max-width-chars">60</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="license_label">
@@ -125,9 +109,6 @@
<property name="selectable">1</property>
<property name="max-width-chars">60</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
</object>
<packing>
diff --git a/gtk/ui/gtkassistant.ui b/gtk/ui/gtkassistant.ui
index d8c4df761b..c75cb9908e 100644
--- a/gtk/ui/gtkassistant.ui
+++ b/gtk/ui/gtkassistant.ui
@@ -18,9 +18,6 @@
<class name="sidebar"/>
</style>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="content_box">
@@ -58,7 +55,6 @@
<signal name="clicked" handler="on_assistant_apply" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
</packing>
</child>
@@ -76,7 +72,6 @@
<signal name="clicked" handler="on_assistant_forward" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
@@ -94,7 +89,6 @@
<signal name="clicked" handler="on_assistant_back" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">2</property>
</packing>
@@ -112,7 +106,6 @@
<signal name="clicked" handler="on_assistant_last" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">3</property>
</packing>
@@ -131,7 +124,6 @@
<signal name="clicked" handler="on_assistant_cancel" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">4</property>
</packing>
@@ -150,7 +142,6 @@
<signal name="clicked" handler="on_assistant_close" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">5</property>
</packing>
diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui
index 1ecd5f6491..9d3a67b158 100644
--- a/gtk/ui/gtkcoloreditor.ui
+++ b/gtk/ui/gtkcoloreditor.ui
@@ -120,7 +120,6 @@
</child>
</object>
<packing>
- <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui
index 2083711147..3eb3425998 100644
--- a/gtk/ui/gtkfilechooserwidget.ui
+++ b/gtk/ui/gtkfilechooserwidget.ui
@@ -66,7 +66,6 @@
<signal name="notify::active" handler="new_folder_popover_active"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
@@ -111,16 +110,10 @@
</packing>
</child>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
</object>
</child>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="list_and_preview_box">
@@ -319,7 +312,6 @@
<property name="spacing">12</property>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -361,7 +353,6 @@
<signal name="changed" handler="filter_combo_changed" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
</packing>
</child>
diff --git a/gtk/ui/gtklockbutton.ui b/gtk/ui/gtklockbutton.ui
index 324c44569e..6e8c3bfe8e 100644
--- a/gtk/ui/gtklockbutton.ui
+++ b/gtk/ui/gtklockbutton.ui
@@ -13,9 +13,6 @@
<object class="GtkImage" id="image">
<property name="icon-name">image-missing</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkStack" id="stack">
diff --git a/gtk/ui/gtkmessagedialog.ui b/gtk/ui/gtkmessagedialog.ui
index 5e350b4824..bec46b9b82 100644
--- a/gtk/ui/gtkmessagedialog.ui
+++ b/gtk/ui/gtkmessagedialog.ui
@@ -35,9 +35,6 @@
<property name="wrap">1</property>
<property name="max-width-chars">60</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="secondary_label">
@@ -59,9 +56,6 @@
</packing>
</child>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
</object>
</child>
diff --git a/gtk/ui/gtkplacesview.ui b/gtk/ui/gtkplacesview.ui
index f7e89322a3..8281d37dd4 100644
--- a/gtk/ui/gtkplacesview.ui
+++ b/gtk/ui/gtkplacesview.ui
@@ -381,7 +381,6 @@
</child>
</object>
<packing>
- <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
@@ -459,7 +458,6 @@
</child>
</object>
<packing>
- <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
diff --git a/gtk/ui/gtkprintunixdialog.ui b/gtk/ui/gtkprintunixdialog.ui
index cf3fefaeb5..0c63f977c2 100644
--- a/gtk/ui/gtkprintunixdialog.ui
+++ b/gtk/ui/gtkprintunixdialog.ui
@@ -153,7 +153,6 @@
<property name="spacing">18</property>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -182,9 +181,6 @@
<relation type="label-for" target="range_table"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="range_table">
@@ -284,7 +280,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -309,9 +304,6 @@
<relation type="label-for" target="grid1"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid1">
@@ -393,7 +385,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -404,7 +395,6 @@
</child>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -415,9 +405,6 @@
<property name="visible">1</property>
<property name="label" translatable="yes">General</property>
</object>
- <packing>
- <property name="tab-fill">0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="page_setup_main_box">
@@ -448,9 +435,6 @@
<relation type="label-for" target="grid2"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid2">
@@ -617,7 +601,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -642,9 +625,6 @@
<relation type="label-for" target="grid3"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid3">
@@ -795,7 +775,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -805,9 +784,6 @@
</packing>
</child>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="box6">
@@ -863,9 +839,6 @@
<relation type="label-for" target="grid5"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid5">
@@ -926,7 +899,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -954,9 +926,6 @@
<relation type="label-for" target="grid6"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid6">
@@ -1049,7 +1018,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -1077,9 +1045,6 @@
<relation type="label-for" target="grid7"/>
</accessibility>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid7">
@@ -1140,7 +1105,6 @@
</accessibility>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>
@@ -1317,7 +1281,6 @@
</child>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
diff --git a/gtk/ui/gtkrecentchooserdefault.ui b/gtk/ui/gtkrecentchooserdefault.ui
index c50b50330d..789c103800 100644
--- a/gtk/ui/gtkrecentchooserdefault.ui
+++ b/gtk/ui/gtkrecentchooserdefault.ui
@@ -66,7 +66,6 @@
</child>
</object>
<packing>
- <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
@@ -83,13 +82,11 @@
<signal name="changed" handler="filter_combo_changed_cb" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="pack-type">end</property>
</packing>
</child>
</object>
<packing>
- <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
diff --git a/gtk/ui/gtkscalebutton.ui b/gtk/ui/gtkscalebutton.ui
index fcf97ed1b7..c2f1b5bc53 100644
--- a/gtk/ui/gtkscalebutton.ui
+++ b/gtk/ui/gtkscalebutton.ui
@@ -36,9 +36,6 @@
<signal name="button-release-event" handler="cb_button_release" swapped="no"/>
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkScale" id="scale">
@@ -67,7 +64,6 @@
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">2</property>
</packing>
</child>
diff --git a/gtk/ui/gtktooltipwindow.ui b/gtk/ui/gtktooltipwindow.ui
index 80965056c5..b90048cebc 100644
--- a/gtk/ui/gtktooltipwindow.ui
+++ b/gtk/ui/gtktooltipwindow.ui
@@ -16,9 +16,6 @@
<object class="GtkImage" id="image">
<property name="icon-name">image-missing</property>
</object>
- <packing>
- <property name="fill">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="label">
@@ -26,7 +23,6 @@
<property name="max-width-chars">70</property>
</object>
<packing>
- <property name="fill">0</property>
<property name="position">1</property>
</packing>
</child>