summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_buffer.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-02-21 10:06:02 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-02-22 09:26:55 +0100
commitc4f33c67a8d75888b21a0f464b0b1c82bd55bd0b (patch)
tree2835fab56c775b14bca1ff1b0af859542557f4c9 /src/lib/ecore_wl2/ecore_wl2_buffer.c
parent7165003bc60177818a491db0d6a557dd0767554b (diff)
move from efl.vpath to eina_vpath
The usages from efl.vpath are moved to to eina_vpath
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_buffer.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_buffer.c b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index 50dca1b35a..a7cb174cb2 100644
--- a/src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/src/lib/ecore_wl2/ecore_wl2_buffer.c
@@ -310,15 +310,15 @@ err:
310static Buffer_Handle * 310static Buffer_Handle *
311_wl_shm_alloc(Buffer_Manager *self EINA_UNUSED, const char *name EINA_UNUSED, int w, int h, unsigned long *stride, int32_t *fd) 311_wl_shm_alloc(Buffer_Manager *self EINA_UNUSED, const char *name EINA_UNUSED, int w, int h, unsigned long *stride, int32_t *fd)
312{ 312{
313 Efl_Vpath_File *file_obj;
314 Eina_Tmpstr *fullname; 313 Eina_Tmpstr *fullname;
315 size_t size = w * h * 4; 314 size_t size = w * h * 4;
316 void *out = NULL; 315 void *out = NULL;
316 char *tmp;
317
318 tmp = eina_vpath_resolve("(:usr.run:)/evas-wayland_shm-XXXXXX");
319 *fd = eina_file_mkstemp(tmp, &fullname);
320 free(tmp);
317 321
318 file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS,
319 "(:run:)/evas-wayland_shm-XXXXXX");
320 *fd = eina_file_mkstemp(efl_vpath_file_result_get(file_obj), &fullname);
321 efl_del(file_obj);
322 if (*fd < 0) return NULL; 322 if (*fd < 0) return NULL;
323 323
324 unlink(fullname); 324 unlink(fullname);