Elm Image: fix usage of animated gif on the same image object more than one time
authorDave Andreoli <dave@gurumeditation.it>
Mon, 25 Jan 2016 21:17:09 +0000 (22:17 +0100)
committerDave Andreoli <dave@gurumeditation.it>
Mon, 25 Jan 2016 21:17:36 +0000 (22:17 +0100)
commit1e78bc662b5b07d171308319d4a13aeb73dcd509
treefacc46a05f2b7722da9fd81ab0b923d53b3d9103
parent81d76979f18285e1c47030f4a09365d777722419
Elm Image: fix usage of animated gif on the same image object more than one time

This patch @fix this usage example:

0. image obj create
1. file_set(an animated gif)
2. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
3. file_set(a normal image)
... at this point elm_image is confused because it still think that the image is animated
4. file_set(an animated gif)
5. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
...this now do not work because elm think that the image is already animated
legacy/elementary/src/lib/elm_image.c