hermet pushed a commit to branch master.

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

commit f10a3c9ee36cd270045f7e30fd3716ef15e3106d
Author: Hermet Park <[email protected]>
Date:   Mon Aug 19 18:04:38 2019 +0900

    edje: fix compatibility issue.
    
    Obviously previous edje object file set would try reload file
    even though the file is already loaded.
    
    This brings different result if the file data has been modified or changed.
---
 src/lib/edje/edje_smart.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 7b97bd303e..977832015f 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -443,6 +443,7 @@ edje_object_mmap_set(Edje_Object *obj, const Eina_File 
*file, const char *group)
 EAPI Eina_Bool
 edje_object_file_set(Edje_Object *obj, const char *file, const char *group)
 {
+   efl_file_unload(obj);
    return efl_file_simple_load(obj, file, group);
 }
 

-- 


Reply via email to