destroy desktop gadgets when the parent zone is removed

This commit is contained in:
Mike Blumenkrantz 2017-07-21 16:20:04 -04:00
parent 23c473db7b
commit 35b1d20b81
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ _comp_site_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
{
if (!zgc->display)
_gadget_object_create(zgc);
else if (!e_comp_zone_number_get(zgc->zone))
evas_object_del(zgc->display);
}
}