forked from enlightenment/efl
parent
0780d4cd45
commit
2173bc5e08
|
@ -142,9 +142,19 @@ ecore_desktop_paths_init(void)
|
||||||
EAPI int
|
EAPI int
|
||||||
ecore_desktop_paths_shutdown(void)
|
ecore_desktop_paths_shutdown(void)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
if (--init_count != 0)
|
if (--init_count != 0)
|
||||||
return init_count;
|
return init_count;
|
||||||
|
|
||||||
|
for (i = 0; i < ECORE_DESKTOP_PATHS_MAX; i++)
|
||||||
|
{
|
||||||
|
E_FN_DEL(ecore_list_destroy, prepend_user_paths[i]);
|
||||||
|
E_FN_DEL(ecore_list_destroy, prepend_system_paths[i]);
|
||||||
|
E_FN_DEL(ecore_list_destroy, append_user_paths[i]);
|
||||||
|
E_FN_DEL(ecore_list_destroy, append_system_paths[i]);
|
||||||
|
}
|
||||||
|
|
||||||
_ecore_desktop_paths_destroy();
|
_ecore_desktop_paths_destroy();
|
||||||
E_FN_DEL(ecore_list_destroy, gnome_data);
|
E_FN_DEL(ecore_list_destroy, gnome_data);
|
||||||
|
|
||||||
|
@ -281,8 +291,6 @@ _ecore_desktop_paths_create(void)
|
||||||
static void
|
static void
|
||||||
_ecore_desktop_paths_destroy(void)
|
_ecore_desktop_paths_destroy(void)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_xsessions);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_xsessions);
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_config);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_config);
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_directories);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_directories);
|
||||||
|
@ -290,14 +298,6 @@ _ecore_desktop_paths_destroy(void)
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_icons);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_icons);
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_kde_legacy);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_kde_legacy);
|
||||||
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_desktops);
|
E_FN_DEL(ecore_list_destroy, ecore_desktop_paths_desktops);
|
||||||
|
|
||||||
for (i = 0; i < ECORE_DESKTOP_PATHS_MAX; i++)
|
|
||||||
{
|
|
||||||
E_FN_DEL(ecore_list_destroy, prepend_user_paths[i]);
|
|
||||||
E_FN_DEL(ecore_list_destroy, prepend_system_paths[i]);
|
|
||||||
E_FN_DEL(ecore_list_destroy, append_user_paths[i]);
|
|
||||||
E_FN_DEL(ecore_list_destroy, append_system_paths[i]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue