efl_ui_image: fix a wrong return value of legacy API

Summary:
elm_image_animated_play_get needs to return opposite
value of animated_PAUSED_get.

Reviewers: zmike, segfaultxavi, bu5hm4n

Reviewed By: zmike, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10186
This commit is contained in:
WooHyun Jung 2019-09-26 09:00:09 -04:00 committed by Mike Blumenkrantz
parent 3bdd50e412
commit 23bbf2bf3a
1 changed files with 1 additions and 1 deletions

View File

@ -1911,7 +1911,7 @@ elm_image_animated_play_get(const Elm_Image *obj)
{
Efl_Ui_Image_Data *sd = efl_data_scope_get(obj, MY_CLASS);
if (!sd) return EINA_FALSE;
return _efl_ui_image_animated_paused_get_internal(obj, sd);
return !_efl_ui_image_animated_paused_get_internal(obj, sd);
}
EOLIAN static Eina_Bool