unset fwin win delete callback before delete during delete callback

This commit is contained in:
Mike Blumenkrantz 2014-06-25 14:09:19 -04:00 committed by Cedric BAIL
parent 9ceb39b0ce
commit 7ac0cafc2a
1 changed files with 5 additions and 1 deletions

View File

@ -737,7 +737,11 @@ _e_fwin_free(E_Fwin *fwin)
fwin->popup_timer = NULL;
E_FREE_LIST(fwin->popup_handlers, ecore_event_handler_del);
if (fwin->spring_parent) fwin->spring_parent->spring_child = NULL;
if (fwin->win) e_object_del(E_OBJECT(fwin->win));
if (fwin->win)
{
e_win_delete_callback_set(fwin->win, NULL);
e_object_del(E_OBJECT(fwin->win));
}
free(fwin);
}