summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2020-07-17 10:08:41 +0900
committerHermet Park <chuneon.park@samsung.com>2020-07-17 10:08:43 +0900
commit903e2832bab72a6f3d42b72f8c79f69c878ab9b0 (patch)
tree9d5cfdd314f67579c1b56fac919c021d71146036
parent9a2776811d39cc0d57da48bd6dd7e6506f6626e2 (diff)
efl_ui_image: remove the unnecessary code in efl_file_unload
Summary: we don't need the image preload api call in efl_file_unload, this make the unexpected SIG_LOAD_ERROR emit, when elm_image_memfile_set() is called. @fix Reviewers: Hermet, jsuya, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12056
-rw-r--r--src/lib/elementary/efl_ui_image.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index bda8503efc..35c3ac8168 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -1001,14 +1001,6 @@ _efl_ui_image_efl_file_unload(Eo *obj, Efl_Ui_Image_Data *sd)
1001 _efl_ui_image_file_set_do(obj); 1001 _efl_ui_image_file_set_do(obj);
1002 efl_file_unload(sd->img); 1002 efl_file_unload(sd->img);
1003 efl_file_unload(efl_super(obj, MY_CLASS)); 1003 efl_file_unload(efl_super(obj, MY_CLASS));
1004 if (sd->preload_status == EFL_UI_IMAGE_PRELOAD_DISABLED)
1005 _prev_img_del(sd);
1006 else
1007 {
1008 evas_object_hide(sd->img);
1009 sd->preload_status = EFL_UI_IMAGE_PRELOADING;
1010 evas_object_image_preload(sd->img, EINA_FALSE);
1011 }
1012 1004
1013 efl_canvas_group_change(obj); 1005 efl_canvas_group_change(obj);
1014} 1006}