mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
buttonbox: Remove redundant if statement
This used to do something in the past.
This commit is contained in:
parent
2c1198f6c2
commit
ea3d0c0f01
@ -835,11 +835,6 @@ gtk_button_box_size_allocate (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
total_size = primary_size + secondary_size;
|
total_size = primary_size + secondary_size;
|
||||||
|
|
||||||
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
|
||||||
width = width;
|
|
||||||
else
|
|
||||||
height = height;
|
|
||||||
|
|
||||||
switch (priv->layout_style)
|
switch (priv->layout_style)
|
||||||
{
|
{
|
||||||
case GTK_BUTTONBOX_SPREAD:
|
case GTK_BUTTONBOX_SPREAD:
|
||||||
|
Loading…
Reference in New Issue
Block a user