diff --git a/legacy/efreet/src/bin/Makefile.am b/legacy/efreet/src/bin/Makefile.am index ce2fa8bec2..315d15c023 100644 --- a/legacy/efreet/src/bin/Makefile.am +++ b/legacy/efreet/src/bin/Makefile.am @@ -17,6 +17,7 @@ efreet_test_SOURCES = \ ef_data_dirs.c \ ef_icon_theme.c \ ef_ini.c \ +ef_utils.c \ ef_desktop.c \ ef_menu.c \ ef_mime.c \ @@ -24,7 +25,6 @@ main.c if DEFAULT_VISIBILITY efreet_test_SOURCES += \ -ef_utils.c \ ef_locale.c endif diff --git a/legacy/efreet/src/bin/main.c b/legacy/efreet/src/bin/main.c index 229cd2a06d..de69a608bb 100644 --- a/legacy/efreet/src/bin/main.c +++ b/legacy/efreet/src/bin/main.c @@ -32,9 +32,7 @@ int ef_cb_menu_save(void); #if 0 int ef_cb_menu_edit(void); #endif -#ifndef HIDDEN_VISIBILITY int ef_cb_utils(void); -#endif int ef_mime_cb_get(void); typedef struct Efreet_Test Efreet_Test; @@ -71,9 +69,7 @@ static Efreet_Test tests[] = { #if 0 {"Menu Edit", ef_cb_menu_edit}, #endif -#if DEFAULT_VISIBILITY {"Utils", ef_cb_utils}, -#endif {"Mime", ef_mime_cb_get}, {NULL, NULL} }; diff --git a/legacy/efreet/src/lib/efreet_private.h b/legacy/efreet/src/lib/efreet_private.h index b98bbc254a..dc30631f73 100644 --- a/legacy/efreet/src/lib/efreet_private.h +++ b/legacy/efreet/src/lib/efreet_private.h @@ -207,8 +207,6 @@ size_t efreet_array_cat(char *buffer, size_t size, const char *strs[]); const char *efreet_desktop_environment_get(void); -const char *efreet_util_path_to_file_id(const char *path); - /** * @} */ diff --git a/legacy/efreet/src/lib/efreet_utils.c b/legacy/efreet/src/lib/efreet_utils.c index 6bd655fa11..60c8487612 100644 --- a/legacy/efreet/src/lib/efreet_utils.c +++ b/legacy/efreet/src/lib/efreet_utils.c @@ -197,7 +197,7 @@ efreet_util_path_in_default(const char *section, const char *path) return ret; } -const char * +EAPI const char * efreet_util_path_to_file_id(const char *path) { size_t len; diff --git a/legacy/efreet/src/lib/efreet_utils.h b/legacy/efreet/src/lib/efreet_utils.h index 6e3adef31a..9bafd8f1b2 100644 --- a/legacy/efreet/src/lib/efreet_utils.h +++ b/legacy/efreet/src/lib/efreet_utils.h @@ -23,6 +23,8 @@ struct Efreet_Event_Desktop_Change EAPI int efreet_util_init(void); EAPI int efreet_util_shutdown(void); +EAPI const char *efreet_util_path_to_file_id(const char *path); + EAPI Ecore_List *efreet_util_desktop_mime_list(const char *mime); EAPI Efreet_Desktop *efreet_util_desktop_wm_class_find(const char *wmname, const char *wmclass);