summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 843bb90..bd25e58 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -167,18 +167,18 @@ _edje_object_efl_canvas_group_group_del(Eo *obj, Edje *ed)
167} 167}
168 168
169EOLIAN static void 169EOLIAN static void
170_edje_object_efl_gfx_position_set(Eo *obj, Edje *ed, Evas_Coord x, Evas_Coord y) 170_edje_object_efl_gfx_position_set(Eo *obj, Edje *ed, Eina_Position2D pos)
171{ 171{
172 unsigned short i; 172 unsigned short i;
173 173
174 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 174 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
175 return; 175 return;
176 176
177 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 177 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
178 178
179 if ((ed->x == x) && (ed->y == y)) return; 179 if ((ed->x == pos.x) && (ed->y == pos.y)) return;
180 ed->x = x; 180 ed->x = pos.x;
181 ed->y = y; 181 ed->y = pos.y;
182// evas_object_move(ed->clipper, ed->x, ed->y); 182// evas_object_move(ed->clipper, ed->x, ed->y);
183 183
184 if (_edje_lua_script_only(ed)) 184 if (_edje_lua_script_only(ed))