summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtkbuttonaccessible.c
diff options
context:
space:
mode:
authorJonas Danielsson <jonas@threetimestwo.org>2014-03-29 21:48:43 +0100
committerMatthias Clasen <mclasen@redhat.com>2014-04-01 21:40:23 -0400
commite7962f5871c15e510415f2d1cfa1bbbdd5a9da3f (patch)
tree29434dc2bcf2fbf9491fb7578961e54558597d7a /gtk/a11y/gtkbuttonaccessible.c
parentb423b88580f6fc49a481bdfe360287a8c607b0ef (diff)
downloadgtk+-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/gtkbuttonaccessible.c')
-rw-r--r--gtk/a11y/gtkbuttonaccessible.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/a11y/gtkbuttonaccessible.c b/gtk/a11y/gtkbuttonaccessible.c
index 3ba94d30cf..57d4286710 100644
--- a/gtk/a11y/gtkbuttonaccessible.c
+++ b/gtk/a11y/gtkbuttonaccessible.c
@@ -405,7 +405,8 @@ gtk_button_accessible_get_image_position (AtkImage *image,
if (button_image != NULL)
{
obj = gtk_widget_get_accessible (button_image);
- atk_component_get_position (ATK_COMPONENT (obj), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (obj), x, y, NULL, NULL,
+ coord_type);
}
else
{