only delete popup's comp win if the popup has been deleted

SVN revision: 84236
This commit is contained in:
Mike Blumenkrantz 2013-02-19 13:43:18 +00:00
parent ce6ed08611
commit da751bc1af
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ e_popup_hide(E_Popup *pop)
if (pop->cw)
{
e_comp_win_hide(pop->cw);
e_comp_win_del(pop->cw);
if (e_object_is_del(E_OBJECT(pop)))
e_comp_win_del(pop->cw);
}
if (!pop->autoclose) return;
if (e_object_is_del(E_OBJECT(pop))) return;