elm/image: restore legacy behavior of elm_image_file_get

Summary:
this should operate on the internal image object to reflect the file
state there instead of the outer object

Reviewers: kimcinoo, Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11396
This commit is contained in:
Mike Blumenkrantz 2020-02-25 12:17:12 +09:00 committed by Hermet Park
parent 6de0ed7b5d
commit b6bd20a844
1 changed files with 2 additions and 1 deletions

View File

@ -2400,7 +2400,8 @@ elm_image_file_set(Evas_Object *obj, const char *file, const char *group)
EAPI void
elm_image_file_get(const Eo *obj, const char **file, const char **group)
{
efl_file_simple_get((Eo *) obj, file, group);
EFL_UI_IMAGE_DATA_GET(obj, sd);
efl_file_simple_get(sd->img, file, group);
}
EAPI Eina_Bool