elm els_icon.c: There is some bug in _els_smart_icon_orient_set function.
authorJiyoun Park <jijibe99@gmail.com>
Mon, 28 Nov 2011 04:42:34 +0000 (04:42 +0000)
committerJiyoun Park <jijibe99@gmail.com>
Mon, 28 Nov 2011 04:42:34 +0000 (04:42 +0000)
commit6357668971a5b30ac72146cfd2a463e791b1893e
tree4501b48cb250bb249a45a1ed4b28b36c6c7c6da7
parentda5f06ce70fef8e811c4ca614c4e21477ba9c2fd
elm els_icon.c: There is some bug in _els_smart_icon_orient_set function.
it didn't work if orient were ELM_IMAGE_ROTATE_90_CW or CCW.
and it also make seg fault if application calls elm_image_orient_set more than twice.
for 90 or 270 rotation, we need seperate memory.
(It can be algorithm without more memory, but I selected readability than memory efficiency)

Before, els icon use file name for data2.
So it make problem, if file name was removed because of obj's data_set or size_set function.
I modified els icon code using copy data function.

SVN revision: 65634
src/lib/els_icon.c