elm_image: Fix file_set when preload is disabled
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 20 Apr 2017 09:29:26 +0000 (18:29 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 20 Apr 2017 09:54:59 +0000 (18:54 +0900)
commit331bf9f74683aad72415e007af14c3d4713f112b
tree01a74c025691182b1ca36497966f3739c6f27aa3
parentbcf3ce84289ad4c91e89d6f5c3c9167af60036f3
elm_image: Fix file_set when preload is disabled

If we disable preload, then the second file set on an elm_image
object would not trigger a deletion of the first image. As a
consequence, both images would be visible... really bad if there's
alpha or different dimensions!

Thanks Anand Kumar for the report!

@fix
src/bin/elementary/test_image.c
src/lib/elementary/efl_ui_image.c