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
Change-Id: Id1c680e79abd348fa5cc888f0e50334fc93571c5
}
if (edje_object_update_hints_get(ep->typedata.swallow->swallowed_object))
{
- Edje *ted;
-
- ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
- _edje_recalc_do(ted);
+ Edje *ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
+ if (ted) _edje_recalc_do(ted);
}
Edje_Size *min = NULL, *max = NULL;