diff --git a/src/examples/evas/evas-map-utils-eo.c b/src/examples/evas/evas-map-utils-eo.c index adf23a393f..329bd6c113 100644 --- a/src/examples/evas/evas-map-utils-eo.c +++ b/src/examples/evas/evas-map-utils-eo.c @@ -142,8 +142,8 @@ _anim_cb(void *data) efl_gfx_map_enable_set(o, EINA_TRUE); o = evas_object_name_find(ad->canvas, "obj4"); - evas_object_geometry_get(o, &x, &y, &w, &h); - evas_object_image_size_get(evas_object_image_source_get(o), &img_w, &img_h); + efl_gfx_geometry_get(o, &x, &y, &w, &h); + efl_gfx_view_size_get(o, &img_w, &img_h); efl_gfx_map_dup(o, ref); efl_gfx_map_point_coord_set(o, 0, x, y + h, 0); diff --git a/src/examples/evas/evas-map-utils.c b/src/examples/evas/evas-map-utils.c index 1ea90157f8..746f8d5eac 100644 --- a/src/examples/evas/evas-map-utils.c +++ b/src/examples/evas/evas-map-utils.c @@ -141,7 +141,7 @@ _anim_cb(void *data) o = evas_object_name_find(ad->canvas, "obj4"); evas_object_geometry_get(o, &x, &y, &w, &h); - evas_object_image_size_get(evas_object_image_source_get(o), &img_w, &img_h); + evas_object_image_size_get(o, &img_w, &img_h); m = evas_map_new(4); evas_map_point_coord_set(m, 0, x, y + h, 0);