summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-10 08:58:29 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-10 19:27:15 +0900
commit0356b1eb5ebcfed8d4f080eab11ac40e3a53f068 (patch)
treeef81493a8a673f14d1a27bf50b95b874b0b0324c /src/lib/efreet
parent7cc8f085b86e7172155912b53c423ba8990a6d60 (diff)
downloadefl-0356b1eb5ebcfed8d4f080eab11ac40e3a53f068.tar.gz
vpath usage - simplify to bare minimum to make gustavo happy
since these are only local path resolves, the do and wait are technically not needed. also remove any other tmp strings and use the vpath string resolving feature to avoid printfs/strjoins/cats etc. etc. as well. also remember to remove old name string from evas shm code - it worked for me. i guess i was lucky and it happened to be NULL thus free was fine.
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/efreet/efreet_base.c b/src/lib/efreet/efreet_base.c
index 506d2e89a4..d510cde10e 100644
--- a/src/lib/efreet/efreet_base.c
+++ b/src/lib/efreet/efreet_base.c
@@ -311,9 +311,8 @@ efreet_dirs_init(void)
#endif
/* xdg_runtime_dir */
- file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS, "(:run:)/");
- efl_vpath_file_do(file_obj);
- efl_vpath_file_wait(file_obj);
+ file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS,
+ "(:run:)/");
xdg_runtime_dir = eina_stringshare_add(efl_vpath_file_result_get(file_obj));
efl_del(file_obj);