hermet pushed a commit to branch master.

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

commit b6bd20a84443cb0ffc0d9f4c6f800cf7182d89cc
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Feb 25 12:17:12 2020 +0900

    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

-- 


Reply via email to