zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5a684e0855ccdde5b6eedc9198d75fe8759aab84

commit 5a684e0855ccdde5b6eedc9198d75fe8759aab84
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Mon Oct 7 09:38:14 2019 -0400

    efl_ui_image: fix backward compatibility issue
    
    Summary:
    Previously, "anim" property was saved before checking
    evas-image's "animated" stated. This patch just corrects
    the issue.
    
    Reviewers: zmike, bu5hm4n, segfaultxavi
    
    Reviewed By: zmike
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10293
---
 src/lib/elementary/efl_ui_image.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elementary/efl_ui_image.c 
b/src/lib/elementary/efl_ui_image.c
index 050f05e00f..b110e9d998 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -1749,6 +1749,9 @@ _efl_ui_image_animated_set_internal(Eo *obj, 
Efl_Ui_Image_Data *sd, Eina_Bool an
         return EINA_TRUE;
      }
    sd->img = elm_image_object_get(obj);
+
+   if (elm_widget_is_legacy(obj)) sd->anim = anim; //legacy
+
    if (!evas_object_image_animated_get(sd->img)) return EINA_FALSE;
    sd->anim = anim;
 

-- 


Reply via email to