summaryrefslogtreecommitdiff
path: root/src/bin/e_path.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-06-21 06:19:43 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-06-21 06:19:43 +0000
commitc3b0637802b2e735ad19947bcaba06bc2c26c4e6 (patch)
tree6329eefede76d2846dbcbd863713bc5ae9743d84 /src/bin/e_path.c
parent06c0c4d5f3e819fc149a82d5947b5cfa73a8e04a (diff)
e17: whitespaces--
SVN revision: 72561
Diffstat (limited to '')
-rw-r--r--src/bin/e_path.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/e_path.c b/src/bin/e_path.c
index 7a81c7d..fb7ec50 100644
--- a/src/bin/e_path.c
+++ b/src/bin/e_path.c
@@ -27,7 +27,7 @@ e_path_default_path_append(E_Path *ep, const char *path)
27 char *new_path; 27 char *new_path;
28 const char *home_dir; 28 const char *home_dir;
29 int len1, len2; 29 int len1, len2;
30 30
31 home_dir = e_user_homedir_get(); 31 home_dir = e_user_homedir_get();
32 len1 = strlen(home_dir); 32 len1 = strlen(home_dir);
33 len2 = strlen(path); 33 len2 = strlen(path);
@@ -44,7 +44,7 @@ e_path_default_path_append(E_Path *ep, const char *path)
44 strcat(new_path, path + 1); 44 strcat(new_path, path + 1);
45 epd->dir = eina_stringshare_add(new_path); 45 epd->dir = eina_stringshare_add(new_path);
46 free(new_path); 46 free(new_path);
47 ep->default_dir_list = eina_list_append(ep->default_dir_list, epd); 47 ep->default_dir_list = eina_list_append(ep->default_dir_list, epd);
48 } 48 }
49 else 49 else
50 { 50 {
@@ -63,7 +63,7 @@ e_path_user_path_set(E_Path *ep, Eina_List **user_dir_list)
63{ 63{
64 E_OBJECT_CHECK(ep); 64 E_OBJECT_CHECK(ep);
65 E_OBJECT_TYPE_CHECK(ep, E_PATH_TYPE); 65 E_OBJECT_TYPE_CHECK(ep, E_PATH_TYPE);
66 66
67 ep->user_dir_list = user_dir_list; 67 ep->user_dir_list = user_dir_list;
68 _e_path_cache_free(ep); 68 _e_path_cache_free(ep);
69} 69}
@@ -80,7 +80,7 @@ e_path_user_path_append(E_Path *ep, const char *path)
80 char *new_path; 80 char *new_path;
81 const char *home_dir; 81 const char *home_dir;
82 int len1, len2; 82 int len1, len2;
83 83
84 home_dir = e_user_homedir_get(); 84 home_dir = e_user_homedir_get();
85 len1 = strlen(home_dir); 85 len1 = strlen(home_dir);
86 len2 = strlen(path); 86 len2 = strlen(path);
@@ -97,7 +97,7 @@ e_path_user_path_append(E_Path *ep, const char *path)
97 strcat(new_path, path + 1); 97 strcat(new_path, path + 1);
98 epd->dir = eina_stringshare_add(new_path); 98 epd->dir = eina_stringshare_add(new_path);
99 free(new_path); 99 free(new_path);
100 *(ep->user_dir_list) = eina_list_append(*(ep->user_dir_list), epd); 100 *(ep->user_dir_list) = eina_list_append(*(ep->user_dir_list), epd);
101 } 101 }
102 else 102 else
103 { 103 {
@@ -123,7 +123,7 @@ e_path_user_path_prepend(E_Path *ep, const char *path)
123 char *new_path; 123 char *new_path;
124 const char *home_dir; 124 const char *home_dir;
125 int len1, len2; 125 int len1, len2;
126 126
127 home_dir = e_user_homedir_get(); 127 home_dir = e_user_homedir_get();
128 len1 = strlen(home_dir); 128 len1 = strlen(home_dir);
129 len2 = strlen(path); 129 len2 = strlen(path);
@@ -140,7 +140,7 @@ e_path_user_path_prepend(E_Path *ep, const char *path)
140 strcat(new_path, path + 1); 140 strcat(new_path, path + 1);
141 epd->dir = eina_stringshare_add(new_path); 141 epd->dir = eina_stringshare_add(new_path);
142 free(new_path); 142 free(new_path);
143 *(ep->user_dir_list) = eina_list_prepend(*(ep->user_dir_list), epd); 143 *(ep->user_dir_list) = eina_list_prepend(*(ep->user_dir_list), epd);
144 } 144 }
145 else 145 else
146 { 146 {
@@ -168,7 +168,7 @@ e_path_user_path_remove(E_Path *ep, const char *path)
168 char *new_path; 168 char *new_path;
169 const char *home_dir; 169 const char *home_dir;
170 int len1, len2; 170 int len1, len2;
171 171
172 home_dir = e_user_homedir_get(); 172 home_dir = e_user_homedir_get();
173 len1 = strlen(home_dir); 173 len1 = strlen(home_dir);
174 len2 = strlen(path); 174 len2 = strlen(path);
@@ -221,7 +221,7 @@ e_path_user_path_clear(E_Path *ep)
221 EINA_LIST_FREE(*(ep->user_dir_list), epd) 221 EINA_LIST_FREE(*(ep->user_dir_list), epd)
222 { 222 {
223 eina_stringshare_del(epd->dir); 223 eina_stringshare_del(epd->dir);
224 free(epd); 224 free(epd);
225 } 225 }
226 _e_path_cache_free(ep); 226 _e_path_cache_free(ep);
227} 227}
@@ -284,7 +284,7 @@ e_path_evas_append(E_Path *ep, Evas *evas)
284{ 284{
285 Eina_List *dir_list; 285 Eina_List *dir_list;
286 E_Path_Dir *epd; 286 E_Path_Dir *epd;
287 287
288 E_OBJECT_CHECK(ep); 288 E_OBJECT_CHECK(ep);
289 E_OBJECT_TYPE_CHECK(ep, E_PATH_TYPE); 289 E_OBJECT_TYPE_CHECK(ep, E_PATH_TYPE);
290 if (!evas) return; 290 if (!evas) return;
@@ -343,7 +343,7 @@ e_path_dir_list_free(Eina_List *dir_list)
343} 343}
344 344
345/* local subsystem functions */ 345/* local subsystem functions */
346static void 346static void
347_e_path_free(E_Path *ep) 347_e_path_free(E_Path *ep)
348{ 348{
349 E_Path_Dir *epd; 349 E_Path_Dir *epd;