Evas: Fix crash in hide

During E shutdown I often get a crash here, so check if we have an evas.

@fix
This commit is contained in:
Sebastian Dransfeld 2014-09-18 10:44:18 +02:00
parent 54d5653e1b
commit 2690080c2d
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ _hide(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
evas_object_change(eo_obj, obj);
evas_object_clip_dirty(eo_obj, obj);
if (!(obj->layer->evas->is_frozen))
if (obj->layer->evas && !(obj->layer->evas->is_frozen))
{
evas_object_clip_across_clippees_check(eo_obj, obj);
evas_object_recalc_clippees(obj);