cedric pushed a commit to branch master.
commit 8f12f21cf0d475874bfe6851ff3d154d8fff7570
Author: Cedric Bail <[email protected]>
Date: Wed May 8 17:59:08 2013 +0900
edje: don't never corrupt an opened edje object.
---
src/lib/edje/edje_calc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index b660815..56cb1d2 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -459,7 +459,7 @@ _edje_real_part_image_set(Edje *ed, Edje_Real_Part *ep,
FLOAT_T pos)
/* Replace snprint("edje/images/%i") == memcpy + itoa */
eina_convert_itoa(image_id, buf + 12); /* No need to check length
as 2³² need only 10 characteres. */
- evas_object_image_file_set(ep->object, ed->file->path, buf);
+ evas_object_image_mmap_set(ep->object, ed->file->f, buf);
if (evas_object_image_load_error_get(ep->object) !=
EVAS_LOAD_ERROR_NONE)
{
ERR("Error loading image collection \"%s\" from "
--
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may