hermet pushed a commit to branch master.

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

commit 7cdc247b51091523b6808cef6a015aed708057e7
Author: Hermet Park <[email protected]>
Date:   Fri Nov 4 20:25:24 2016 +0900

    elementary transit: more optimal api call.
    
    come to think of it, we have a size get api...
---
 src/lib/elementary/elm_transit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_transit.c b/src/lib/elementary/elm_transit.c
index 8ae0d87..0ff99fa 100644
--- a/src/lib/elementary/elm_transit.c
+++ b/src/lib/elementary/elm_transit.c
@@ -508,7 +508,7 @@ _recover_image_uv(Evas_Object *obj, Evas_Map *map, 
Eina_Bool revert, Eina_Bool b
         else
           {
              efl_gfx_fill_get(obj, &fill_x, &fill_y, &fill_w, &fill_h);
-             efl_gfx_geometry_get(obj, NULL, NULL, &w, &h);
+             efl_gfx_size_get(obj, &w, &h);
 
              double rate_x = (double) w / (double) fill_w;
              double rate_y = (double) h / (double) fill_h;

-- 


Reply via email to