From 0356b1eb5ebcfed8d4f080eab11ac40e3a53f068 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 10 Feb 2017 08:58:29 +0900 Subject: 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. --- src/lib/efreet/efreet_base.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/efreet') 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); -- cgit v1.2.1