summaryrefslogtreecommitdiff
path: root/src/bin/e_path.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/e_path.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bin/e_path.c b/src/bin/e_path.c
index 6b181ad..67de09d 100644
--- a/src/bin/e_path.c
+++ b/src/bin/e_path.c
@@ -249,6 +249,20 @@ e_path_user_path_remove(E_Path *ep, const char *path)
249 } 249 }
250} 250}
251 251
252EAPI void
253e_path_user_path_clear(E_Path *ep)
254{
255 while (*(ep->user_dir_list))
256 {
257 E_Path_Dir *epd;
258 epd = (*(ep->user_dir_list))->data;
259 *(ep->user_dir_list) = evas_list_remove_list(*(ep->user_dir_list), *(ep->user_dir_list));
260 evas_stringshare_del(epd->dir);
261 free(epd);
262 }
263 _e_path_cache_free(ep);
264}
265
252EAPI const char * 266EAPI const char *
253e_path_find(E_Path *ep, const char *file) 267e_path_find(E_Path *ep, const char *file)
254{ 268{