forked from AuroraMiddleware/gtk
box: Remove size_allocate_no_center
GtkBox never has a center widget these days.
This commit is contained in:
parent
f38555712b
commit
ad1f5fe61a
17
gtk/gtkbox.c
17
gtk/gtkbox.c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user