gtk: remove "gboolean homogeneous" from gtk_box_new()

Because it's FALSE in virtually all use cases.
This commit is contained in:
Michael Natterer
2010-10-31 18:07:20 +01:00
parent 81d7dd0774
commit 3a0afce509
116 changed files with 473 additions and 461 deletions

View File

@ -1241,7 +1241,6 @@ gtk_box_get_preferred_height_for_width (GtkWidget *widget,
/**
* gtk_box_new:
* @orientation: the box' orientation.
* @homogeneous: %TRUE if all children are to be given equal space allocations.
* @spacing: the number of pixels to place by default between children.
*
* Creates a new #GtkBox.
@ -1252,13 +1251,11 @@ gtk_box_get_preferred_height_for_width (GtkWidget *widget,
**/
GtkWidget*
gtk_box_new (GtkOrientation orientation,
gboolean homogeneous,
gint spacing)
{
return g_object_new (GTK_TYPE_BOX,
"orientation", orientation,
"spacing", spacing,
"homogeneous", homogeneous ? TRUE : FALSE,
NULL);
}