destroy desktop gadgets when the parent zone is removed
This commit is contained in:
parent
23c473db7b
commit
35b1d20b81
|
@ -152,6 +152,8 @@ _comp_site_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
||||||
{
|
{
|
||||||
if (!zgc->display)
|
if (!zgc->display)
|
||||||
_gadget_object_create(zgc);
|
_gadget_object_create(zgc);
|
||||||
|
else if (!e_comp_zone_number_get(zgc->zone))
|
||||||
|
evas_object_del(zgc->display);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue