efl/src
Shinwoo Kim bfdb01161a efl_ui_image: unload file before memfile_set
Summary:
If memfile_set does not remove prev file information, it is not possilbe to
load image using the same file information after memefile_set.

It means that below line 3 does not work because the same file information
remains for Efl.Ui.Image_Legacy.

1 |  elm_image_file_set(obj, "1.jpg", NULL)
2 |  elm_image_memfile_set(obj, img, size, "jpg", NULL)
3 |  elm_image_file_set(obj, "1.jpg", NULL)

This patch removes line calling _efl_ui_image_file_set_do becasue it is called
in efl_file_unload > _efl_ui_image_efl_file_unload.

Test Plan:
[Sample Code]
{F3848315}

[Reproduce Step]
1. File2
2. Memfile
3. File2

Reviewers: Hermet, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11392
2020-02-21 13:16:57 +09:00
..
benchmarks Fix build with gcc 10 (which has -fno-common enabled by default). 2020-01-31 14:31:57 +01:00
bin edje: modify to respect user set fixed property 2020-02-19 12:40:39 -05:00
bindings eolian-mono: Make Get/Set internal for generated properties 2020-02-18 16:47:38 -03:00
edje_external
examples ecore_con: remove use of list<> from Efl.Net. 2020-01-30 17:06:17 +01:00
generic emotion & evas: remove gstreamer 0.10 support 2019-12-04 12:21:25 -08:00
lib efl_ui_image: unload file before memfile_set 2020-02-21 13:16:57 +09:00
modules Revert "evas: remove image_load from the engine." 2020-02-14 08:33:32 -05:00
scripts scripts - eina - remove eina-bench-cmp as its disbaled from install 2020-01-06 16:36:31 +00:00
static_libs vg_common_json: use %zu for size_t 2020-02-13 11:31:00 +09:00
tests eina: introduce eina_iterator_process 2020-02-19 16:34:05 +01:00
wayland_protocol