e zone - handle null e_comp if comp is already shut down

this came from backlight shutdown that got current zone... and getting
zone relied on e_comp being valid.

@fix
This commit is contained in:
Carsten Haitzler 2015-12-07 19:42:28 +09:00
parent bc8cfec356
commit bb3701702a
1 changed files with 1 additions and 0 deletions

View File

@ -400,6 +400,7 @@ e_zone_current_get(void)
Eina_List *l = NULL;
E_Zone *zone;
if (!e_comp) return NULL;
if (!starting)
{
int x, y;