center box: Fix size allocation

This missing pair of parens was causing expanding children
to overlap.
This commit is contained in:
Matthias Clasen 2017-06-10 07:52:01 -04:00
parent 389535c572
commit 8316ec85f5

View File

@ -201,7 +201,7 @@ gtk_center_box_distribute (GtkCenterBox *self,
start_size = center_pos;
if (end_expand)
end_size = size - center_pos + center_size;
end_size = size - (center_pos + center_size);
}
else
{