a11y: atk_component_get_position is deprecated

Switch to using atk_component_get_extents instead.

https://bugzilla.gnome.org/show_bug.cgi?id=727313
This commit is contained in:
Jonas Danielsson
2014-03-29 21:48:43 +01:00
committed by Matthias Clasen
parent b423b88580
commit e7962f5871
6 changed files with 14 additions and 7 deletions

View File

@ -83,7 +83,8 @@ gtk_image_cell_accessible_get_image_position (AtkImage *image,
gint *y,
AtkCoordType coord_type)
{
atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL,
coord_type);
}
static void