summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-10-07 09:38:14 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-07 10:03:48 -0400
commit5a684e0855ccdde5b6eedc9198d75fe8759aab84 (patch)
tree5a745011514730e929ccc2f8fa7dfaff25f6d5de /src/lib/elementary
parentb0ac1ec85f7290da7f8af7ddff30b3b501325ace (diff)
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
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index 050f05e..b110e9d 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
1749 return EINA_TRUE; 1749 return EINA_TRUE;
1750 } 1750 }
1751 sd->img = elm_image_object_get(obj); 1751 sd->img = elm_image_object_get(obj);
1752
1753 if (elm_widget_is_legacy(obj)) sd->anim = anim; //legacy
1754
1752 if (!evas_object_image_animated_get(sd->img)) return EINA_FALSE; 1755 if (!evas_object_image_animated_get(sd->img)) return EINA_FALSE;
1753 sd->anim = anim; 1756 sd->anim = anim;
1754 1757