From c92e670143cba851aa11fa0c63b0357c2ea57cbc Mon Sep 17 00:00:00 2001 From: Dongyeon Kim Date: Tue, 6 Oct 2015 14:29:57 +0900 Subject: [PATCH] Evas image: Fix wrong usage of engine data macro ENDT macro should be passed to engine functions instead of some other function pointer! @fix --- src/lib/evas/canvas/evas_object_image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 76c1009..7214b9a 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -2163,9 +2163,9 @@ _evas_image_scale_hint_set(Eo *eo_obj, Evas_Image_Data *o, Evas_Image_Scale_Hint int stride = 0; if (ENFN->image_scale_hint_set) - ENFN->image_scale_hint_set(ENFN->image_native_get, o->engine_data, o->scale_hint); + ENFN->image_scale_hint_set(ENDT, o->engine_data, o->scale_hint); if (ENFN->image_stride_get) - ENFN->image_stride_get(ENFN->image_native_get, o->engine_data, &stride); + ENFN->image_stride_get(ENDT, o->engine_data, &stride); else stride = o->cur->image.w * 4; @@ -2196,7 +2196,7 @@ _evas_image_content_hint_set(Eo *eo_obj, Evas_Image_Data *o, Evas_Image_Content_ int stride = 0; if (ENFN->image_content_hint_set) - ENFN->image_content_hint_set(ENFN->image_native_get, o->engine_data, o->content_hint); + ENFN->image_content_hint_set(ENDT, o->engine_data, o->content_hint); if (ENFN->image_stride_get) ENFN->image_stride_get(ENDT, o->engine_data, &stride); else -- 2.7.4