forked from enlightenment/efl
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.
This commit is contained in:
parent
375f22931e
commit
f10a3c9ee3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue