forked from enlightenment/enlightenment
re-enable building against latest efl git
In EFL git head, this function has changed to be just evas_object_coords_inside_get. This patch wraps the two different function names around an #ifdef so we can check EFL version that we are building against and call the correct function accordingly. Fixes T6500 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
fbc72ceaee
commit
a782beba82
|
@ -3365,7 +3365,17 @@ e_comp_object_coords_inside_input_area(Evas_Object *obj, int x, int y)
|
||||||
Eina_Array_Iterator it;
|
Eina_Array_Iterator it;
|
||||||
|
|
||||||
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
||||||
if (evas_object_pointer_coords_inside_get(rect, x, y)) return EINA_TRUE;
|
{
|
||||||
|
#ifndef EFL_VERSION_1_21
|
||||||
|
if (evas_object_pointer_coords_inside_get(rect, x, y))
|
||||||
|
return EINA_TRUE;
|
||||||
|
#else
|
||||||
|
Eina_Position2D pos = {x, y};
|
||||||
|
|
||||||
|
if (evas_object_coords_inside_get(rect, pos))
|
||||||
|
return EINA_TRUE;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue