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)
|
if (n_expand_children == 0)
|
||||||
{
|
extra_space = 0;
|
||||||
extra_space = 0;
|
|
||||||
n_expand_children = 1;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (priv->is_vertical)
|
if (priv->is_vertical)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user