box: Remove size_allocate_no_center

GtkBox never has a center widget these days.
This commit is contained in:
Timm Bäder 2017-09-29 10:49:41 +02:00
parent f38555712b
commit ad1f5fe61a

View File

@ -369,10 +369,10 @@ get_spacing (GtkBox *box)
}
static void
gtk_box_size_allocate_no_center (GtkWidget *widget,
const GtkAllocation *allocation,
int baseline,
GdkRectangle *out_clip)
gtk_box_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
int baseline,
GdkRectangle *out_clip)
{
GtkBox *box = GTK_BOX (widget);
GtkBoxPrivate *private = box->priv;
@ -666,15 +666,6 @@ gtk_box_size_allocate_no_center (GtkWidget *widget,
}
}
static void
gtk_box_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
int baseline,
GtkAllocation *out_clip)
{
gtk_box_size_allocate_no_center (widget, allocation, baseline, out_clip);
}
static GType
gtk_box_child_type (GtkContainer *container)
{