jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=d57ea9080d7d61490b4cd897dae8ee49c21947ee

commit d57ea9080d7d61490b4cd897dae8ee49c21947ee
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Apr 6 15:34:58 2015 +0900

    elm_image: Simplify file_get
---
 src/lib/elm_image.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 6f56799..ebcbd90 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1096,10 +1096,7 @@ _elm_image_efl_file_file_get(Eo *obj EINA_UNUSED, 
Elm_Image_Data *sd, const char
         return;
      }
 
-   if (sd->edje)
-     edje_object_file_get(sd->img, file, key);
-   else
-     evas_object_image_file_get(sd->img, file, key);
+   eo_do(sd->img, efl_file_get(file, key));
 }
 
 EOLIAN static void

-- 


Reply via email to