summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_image.c')
-rw-r--r--src/lib/elementary/efl_ui_image.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index 093e79b..b844665 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -615,16 +615,16 @@ _efl_ui_image_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Image_Data *sd)
615} 615}
616 616
617EOLIAN static void 617EOLIAN static void
618_efl_ui_image_efl_gfx_position_set(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Coord x, Evas_Coord y) 618_efl_ui_image_efl_gfx_position_set(Eo *obj, Efl_Ui_Image_Data *sd, Eina_Position2D pos)
619{ 619{
620 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 620 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
621 return; 621 return;
622 622
623 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 623 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
624 624
625 if ((sd->img_x == x) && (sd->img_y == y)) return; 625 if ((sd->img_x == pos.x) && (sd->img_y == pos.y)) return;
626 sd->img_x = x; 626 sd->img_x = pos.x;
627 sd->img_y = y; 627 sd->img_y = pos.y;
628 628
629 /* takes care of moving */ 629 /* takes care of moving */
630 _efl_ui_image_internal_sizing_eval(obj, sd); 630 _efl_ui_image_internal_sizing_eval(obj, sd);