edje_external: fix external icon handling
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 26 Jun 2016 17:42:21 +0000 (19:42 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 26 Jun 2016 21:11:55 +0000 (23:11 +0200)
commit7352bcff98fc65a08edcd505b872403af8d821a7
tree98e30d0ea5a9ed9e79f99aedc4dd5c1c1e98d9a3
parente3331751098fab7463cee8782ca72dcba92a8f09
edje_external: fix external icon handling

External icons were handled with a global variable, which reason
to exist seem quite weird. It seems to me it was used to retain
some states of the actual parameters to get them later without having
access to the real parameters.

I don't really get how this would have worked with more than one
icon. When I tried to animate an external icon, with two states,
there were leaks and memory corruption... Now both are gone.

@fix
src/edje_external/elementary/elm_icon.c