diff options
authorJunsuChoi <>2020-01-23 17:36:41 +0900
committerJunsuChoi <>2020-01-23 17:36:41 +0900
commit6c6ac71f5689e74403e0fcb6ed404957b2e82dd7 (patch)
parent4cdd5505e957c6cdf6ac0f6f99cda3295ab23bc1 (diff)
Revert "efl_ui_image: Call unload file when calling file_set"
Summary: This reverts commit 93bd97025983e48ae8048d0c63b5d8b314f1de42. efl.ui.image using prev and current inner image object. Unloading the efl.ui.image class can be unloaded up to the prev image. And because efl.ui.image is using the image caching feature together, it may get unexpected errors. Therefore, revert this patch. Test Plan: N/A Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index 1de73161c5..1f6ba219d1 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -999,7 +999,6 @@ _efl_ui_image_smart_internal_file_set(Eo *obj, Efl_Ui_Image_Data *sd)
999 const Eina_File *f; 999 const Eina_File *f;
1000 const char *key; 1000 const char *key;
1001 const char *file = efl_file_get(obj); 1001 const char *file = efl_file_get(obj);
1002 efl_file_unload(obj);
1003 1002
1004 if (eina_str_has_extension(file, ".edj")) 1003 if (eina_str_has_extension(file, ".edj"))
1005 return _efl_ui_image_edje_file_set(obj); 1004 return _efl_ui_image_edje_file_set(obj);