summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_scrollable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_interface_scrollable.c')
-rw-r--r--src/lib/elementary/elm_interface_scrollable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c
index e659c1d..223c1fb 100644
--- a/src/lib/elementary/elm_interface_scrollable.c
+++ b/src/lib/elementary/elm_interface_scrollable.c
@@ -102,15 +102,15 @@ _elm_pan_efl_canvas_group_group_del(Eo *obj, Elm_Pan_Smart_Data *_pd EINA_UNUSED
102} 102}
103 103
104EOLIAN static void 104EOLIAN static void
105_elm_pan_efl_gfx_position_set(Eo *obj, Elm_Pan_Smart_Data *psd, Evas_Coord x, Evas_Coord y) 105_elm_pan_efl_gfx_position_set(Eo *obj, Elm_Pan_Smart_Data *psd, Eina_Position2D pos)
106{ 106{
107 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 107 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
108 return; 108 return;
109 109
110 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), x, y); 110 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), pos);
111 111
112 psd->x = x; 112 psd->x = pos.x;
113 psd->y = y; 113 psd->y = pos.y;
114 114
115 _elm_pan_update(psd); 115 _elm_pan_update(psd);
116} 116}