fix elm image timer code
authorJiyoun Park <jy0703.park@samsung.com>
Wed, 22 May 2013 07:18:08 +0000 (16:18 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:07:58 +0000 (14:07 +0900)
Change-Id: I0d78f8411f92fb81ddfe9e905660a3cdb06aa85e

src/lib/elm_image.c

index 0cad970..9081729 100644 (file)
@@ -1428,6 +1428,7 @@ elm_image_animated_play_set(Evas_Object *obj,
 
    if (play)
      {
+        if (sd->anim_timer) ecore_timer_del(sd->anim_timer);
         sd->anim_timer = ecore_timer_add
             (sd->frame_duration, _elm_image_animate_cb, sd);
      }