summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-canvas-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index c159ba83..397420e9 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -3174,7 +3174,7 @@ caja_icon_canvas_item_accessible_get_image_position
}
}
}
- atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL, coord_type);
*x += x_offset;
*y += y_offset;
}
@@ -3350,7 +3350,7 @@ caja_icon_canvas_item_accessible_get_character_extents (AtkText *text,
gboolean have_editable;
gint text_offset;
- atk_component_get_position (ATK_COMPONENT (text), &pos_x, &pos_y, coords);
+ atk_component_get_extents (ATK_COMPONENT (text), &pos_x, &pos_y, NULL, NULL, coords);
item = CAJA_ICON_CANVAS_ITEM (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)));
if (item->details->pixbuf)