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:
Emmanuele Bassi 2010-02-11 15:11:51 +00:00
parent cd05856253
commit 853f9941da

View File

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