cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6a3971ec3d81285820cf9d7a7d7ac0f6adb06a2d

commit 6a3971ec3d81285820cf9d7a7d7ac0f6adb06a2d
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Feb 3 18:55:33 2015 +0100

    edje: quick fix to guarantee that ed->path is always correctly set.
    
    NOTE: It will be better to completly remove ed->path in favor of using 
ed->file->f,
    but that would be way to intrusive for this release cycle.
---
 src/lib/edje/edje_load.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index f55c580..b411fb8 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -1141,6 +1141,11 @@ _edje_file_add(Edje *ed, const Eina_File *f)
              ed->file = NULL;
           }
      }
+   else
+     {
+        // FIXME: it will be actually better to remove ed->path.
+        ed->path = eina_stringshare_add(eina_file_filename_get(f));
+     }
 }
 
 static int

-- 


Reply via email to