delete window and children when button is gone

This commit is contained in:
Gustavo Sverzut Barbieri 2013-11-12 17:17:13 -02:00
parent e6f2591b0c
commit 47a3fafd00
1 changed files with 1 additions and 5 deletions

View File

@ -204,11 +204,7 @@ _elm_fileselector_button_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED
if (sd->window_title) eina_stringshare_del(sd->window_title);
if (sd->fsd.path) eina_stringshare_del(sd->fsd.path);
if (sd->fs)
{
win = evas_object_data_del(obj, "win");
evas_object_del(win);
}
if (sd->fsw) evas_object_del(sd->fsw);
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}