edje_calc: fix check return of _edje_fetch
Summary: checks if _edje_fetch returns null before calling _edje_recalc_do. Reviewers: Hermet, raster, kimcinoo, jsuya Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12322
This commit is contained in:
parent
6618de1f4a
commit
076ab65180
|
@ -4082,10 +4082,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
||||||
}
|
}
|
||||||
if (edje_object_update_hints_get(ep->typedata.swallow->swallowed_object))
|
if (edje_object_update_hints_get(ep->typedata.swallow->swallowed_object))
|
||||||
{
|
{
|
||||||
Edje *ted;
|
Edje *ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
|
||||||
|
if (ted) _edje_recalc_do(ted);
|
||||||
ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
|
|
||||||
_edje_recalc_do(ted);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Edje_Size *min = NULL, *max = NULL;
|
Edje_Size *min = NULL, *max = NULL;
|
||||||
|
|
Loading…
Reference in New Issue