win: Avoid malloc in icon_object_set
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 11:40:22 +0000 (20:40 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 12:05:32 +0000 (21:05 +0900)
commitc09b921e34545ad93bd9091e35a816e687276310
tree350a80dcd5c843f2f0e8b15bc92421fbb7dd6009
parenta014b2140069c8c9b03f048698537abe7316cc10
win: Avoid malloc in icon_object_set

Also support both Evas.Image and EO Efl.Canvas.Image classes.
Add a test case in elm_test (under "Icon").

I'm not so happy about this patch... it shows that the API
barrier between legacy and EO implemented for images may not
be such a great idea after all :(
src/bin/elementary/test_icon.c
src/lib/elementary/efl_ui_win.c