From b6bd20a84443cb0ffc0d9f4c6f800cf7182d89cc Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 25 Feb 2020 12:17:12 +0900 Subject: [PATCH] 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 --- src/lib/elementary/efl_ui_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c index 578dd5aa52..285927c7f0 100644 --- a/src/lib/elementary/efl_ui_image.c +++ b/src/lib/elementary/efl_ui_image.c @@ -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