summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_genlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_genlist.c')
-rw-r--r--src/lib/elementary/elm_genlist.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index a8800be..d66f11d 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -273,12 +273,12 @@ _elm_genlist_pan_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Pan_Data *psd)
273} 273}
274 274
275EOLIAN static void 275EOLIAN static void
276_elm_genlist_pan_efl_gfx_position_set(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord x, Evas_Coord y) 276_elm_genlist_pan_efl_gfx_position_set(Eo *obj, Elm_Genlist_Pan_Data *psd, Eina_Position2D pos)
277{ 277{
278 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 278 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
279 return; 279 return;
280 280
281 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), x, y); 281 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), pos);
282 282
283 psd->wsd->pan_changed = EINA_TRUE; 283 psd->wsd->pan_changed = EINA_TRUE;
284 evas_object_smart_changed(obj); 284 evas_object_smart_changed(obj);
@@ -5705,14 +5705,13 @@ _elm_genlist_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Data *sd)
5705} 5705}
5706 5706
5707EOLIAN static void 5707EOLIAN static void
5708_elm_genlist_efl_gfx_position_set(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord x, Evas_Coord y) 5708_elm_genlist_efl_gfx_position_set(Eo *obj, Elm_Genlist_Data *sd, Eina_Position2D pos)
5709{ 5709{
5710 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 5710 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
5711 return; 5711 return;
5712 5712
5713 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 5713 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
5714 5714 efl_gfx_position_set(sd->hit_rect, pos);
5715 evas_object_move(sd->hit_rect, x, y);
5716} 5715}
5717 5716
5718EOLIAN static void 5717EOLIAN static void