buttonbox: Remove redundant if statement

This used to do something in the past.
This commit is contained in:
Timm Bäder 2018-12-26 06:59:51 +01:00
parent 2c1198f6c2
commit ea3d0c0f01

View File

@ -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: