diff options
author | Jonas Danielsson <jonas@threetimestwo.org> | 2014-03-29 21:48:43 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-04-01 21:40:23 -0400 |
commit | e7962f5871c15e510415f2d1cfa1bbbdd5a9da3f (patch) | |
tree | 29434dc2bcf2fbf9491fb7578961e54558597d7a /gtk/a11y/gtkimageaccessible.c | |
parent | b423b88580f6fc49a481bdfe360287a8c607b0ef (diff) | |
download | gtk+-e7962f5871c15e510415f2d1cfa1bbbdd5a9da3f.tar.gz |
a11y: atk_component_get_position is deprecated
Switch to using atk_component_get_extents instead.
https://bugzilla.gnome.org/show_bug.cgi?id=727313
Diffstat (limited to 'gtk/a11y/gtkimageaccessible.c')
-rw-r--r-- | gtk/a11y/gtkimageaccessible.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/a11y/gtkimageaccessible.c b/gtk/a11y/gtkimageaccessible.c index 3a17a7fcb4..08ab5189d3 100644 --- a/gtk/a11y/gtkimageaccessible.c +++ b/gtk/a11y/gtkimageaccessible.c @@ -260,7 +260,8 @@ gtk_image_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 |