diff --git a/src/bin/e_main.c b/src/bin/e_main.c index e54ecb34d..e732f853a 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -738,32 +738,32 @@ _e_main_path_shutdown(void) { if (path_data) { - e_object_unref(E_OBJECT(path_data)); + e_object_del(E_OBJECT(path_data)); path_data = NULL; } if (path_images) { - e_object_unref(E_OBJECT(path_images)); + e_object_del(E_OBJECT(path_images)); path_images = NULL; } if (path_fonts) { - e_object_unref(E_OBJECT(path_fonts)); + e_object_del(E_OBJECT(path_fonts)); path_fonts = NULL; } if (path_themes) { - e_object_unref(E_OBJECT(path_themes)); + e_object_del(E_OBJECT(path_themes)); path_themes = NULL; } if (path_icons) { - e_object_unref(E_OBJECT(path_icons)); + e_object_del(E_OBJECT(path_icons)); path_icons = NULL; } if (path_init) { - e_object_unref(E_OBJECT(path_init)); + e_object_del(E_OBJECT(path_init)); path_init = NULL; } return 1; diff --git a/src/bin/e_module.c b/src/bin/e_module.c index b0e576669..96c4862f7 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -7,7 +7,7 @@ /* TODO List: * * * add module types/classes - * * add list of exclusions that a mdoule cant work with + * * add list of exclusions that a module cant work with * */ @@ -66,9 +66,9 @@ e_module_shutdown(void) E_Module *m; m = _e_modules->data; - e_object_unref(E_OBJECT(m)); + e_object_del(E_OBJECT(m)); } - e_object_unref(E_OBJECT(_e_path_modules)); + e_object_del(E_OBJECT(_e_path_modules)); _e_path_modules = NULL; return 1; }