Cleanup module_update handler a little better.

SVN revision: 32993
This commit is contained in:
Christopher Michael 2007-12-05 02:37:36 +00:00
parent 1f7e8e7611
commit a6aafc0831
1 changed files with 5 additions and 1 deletions

View File

@ -193,6 +193,7 @@ e_configure_del(void)
{
if (_e_configure->mod_hdl)
ecore_event_handler_del(_e_configure->mod_hdl);
_e_configure->mod_hdl = NULL;
e_object_del(E_OBJECT(_e_configure));
_e_configure = NULL;
}
@ -201,6 +202,9 @@ e_configure_del(void)
static void
_e_configure_free(E_Configure *eco)
{
if (_e_configure->mod_hdl)
ecore_event_handler_del(_e_configure->mod_hdl);
eco->mod_hdl = NULL;
_e_configure = NULL;
while (eco->cats)
{
@ -239,7 +243,7 @@ _e_configure_free(E_Configure *eco)
evas_object_del(eco->o_list);
evas_object_del(eco->edje);
e_object_del(E_OBJECT(eco->win));
free(eco);
E_FREE(eco);
}
static void