Not e_object_unref, e_object_del

SVN revision: 13242
This commit is contained in:
sebastid 2005-02-08 18:07:00 +00:00 committed by sebastid
parent 7857096ed3
commit 2a77326df1
2 changed files with 9 additions and 9 deletions

View File

@ -738,32 +738,32 @@ _e_main_path_shutdown(void)
{ {
if (path_data) if (path_data)
{ {
e_object_unref(E_OBJECT(path_data)); e_object_del(E_OBJECT(path_data));
path_data = NULL; path_data = NULL;
} }
if (path_images) if (path_images)
{ {
e_object_unref(E_OBJECT(path_images)); e_object_del(E_OBJECT(path_images));
path_images = NULL; path_images = NULL;
} }
if (path_fonts) if (path_fonts)
{ {
e_object_unref(E_OBJECT(path_fonts)); e_object_del(E_OBJECT(path_fonts));
path_fonts = NULL; path_fonts = NULL;
} }
if (path_themes) if (path_themes)
{ {
e_object_unref(E_OBJECT(path_themes)); e_object_del(E_OBJECT(path_themes));
path_themes = NULL; path_themes = NULL;
} }
if (path_icons) if (path_icons)
{ {
e_object_unref(E_OBJECT(path_icons)); e_object_del(E_OBJECT(path_icons));
path_icons = NULL; path_icons = NULL;
} }
if (path_init) if (path_init)
{ {
e_object_unref(E_OBJECT(path_init)); e_object_del(E_OBJECT(path_init));
path_init = NULL; path_init = NULL;
} }
return 1; return 1;

View File

@ -7,7 +7,7 @@
/* TODO List: /* TODO List:
* *
* * add module types/classes * * 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; E_Module *m;
m = _e_modules->data; 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; _e_path_modules = NULL;
return 1; return 1;
} }