mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
analysis: ClutterBoxLayout
Remove an useless assignment. The n_expand_children is not used outside the extra_space check, and if n_expand_children is 0 then the extra space we allocate is 0.
This commit is contained in:
parent
cd05856253
commit
853f9941da
@ -919,10 +919,7 @@ clutter_box_layout_allocate (ClutterLayoutManager *layout,
|
||||
}
|
||||
|
||||
if (n_expand_children == 0)
|
||||
{
|
||||
extra_space = 0;
|
||||
n_expand_children = 1;
|
||||
}
|
||||
extra_space = 0;
|
||||
else
|
||||
{
|
||||
if (priv->is_vertical)
|
||||
|
Loading…
x
Reference in New Issue
Block a user