diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-09 22:06:16 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-09 22:06:16 +0900 |
commit | 2037474dc0fd2b360452f2a15abcbe533b57ca37 (patch) | |
tree | 7e5da455c6dadabd9c2c023bd3b2d12abe321f67 /src/lib/efreet/efreet_base.c | |
parent | 810b17e7a4338d9fe8b6a3bebf92761880600eff (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | src/lib/efreet/efreet_base.c | 5 |
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) | |||
311 | #endif | 311 | #endif |
312 | 312 | ||
313 | /* xdg_runtime_dir */ | 313 | /* xdg_runtime_dir */ |
314 | file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS, "(:run:)/"); | 314 | file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS, |
315 | efl_vpath_file_do(file_obj); | 315 | "(:run:)/"); |
316 | efl_vpath_file_wait(file_obj); | ||
317 | xdg_runtime_dir = eina_stringshare_add(efl_vpath_file_result_get(file_obj)); | 316 | xdg_runtime_dir = eina_stringshare_add(efl_vpath_file_result_get(file_obj)); |
318 | efl_del(file_obj); | 317 | efl_del(file_obj); |
319 | 318 | ||