Edje: edje_fetch can return NULL so we should check that we have a

valid edje from the parent before trying to use it.



SVN revision: 76371
This commit is contained in:
Christopher Michael 2012-09-10 08:00:59 +00:00
parent 0eaa7cea4f
commit 158742d8b6
1 changed files with 1 additions and 1 deletions

View File

@ -2499,7 +2499,7 @@ _recalc_extern_parent(Evas_Object *obj)
Edje *ed;
parent = evas_object_smart_parent_get(obj);
ed = _edje_fetch(parent);
if (!(ed = _edje_fetch(parent))) return;
ed->dirty = EINA_TRUE;
ed->recalc_call = EINA_TRUE; // ZZZ: ???