[Xfce4-commits] [xfce/exo] 01/01: Fix ATK deprecation warnings (bug #11556)

noreply at xfce.org noreply at xfce.org
Sun Feb 22 09:36:25 CET 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/exo.

commit 941d5a8281b04b6374b3544c825c245c4476a5e6
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Feb 22 09:33:51 2015 +0100

    Fix ATK deprecation warnings (bug #11556)
---
 exo/exo-icon-view-accessible.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exo/exo-icon-view-accessible.c b/exo/exo-icon-view-accessible.c
index bbbbeca..91c3980 100644
--- a/exo/exo-icon-view-accessible.c
+++ b/exo/exo-icon-view-accessible.c
@@ -299,7 +299,7 @@ exo_icon_view_item_accessible_image_get_image_position (AtkImage    *image,
   if (atk_state_set_contains_state (item->state_set, ATK_STATE_DEFUNCT))
     return;
 
-  atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
+  atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL, coord_type);
 
   if (get_pixbuf_box (EXO_ICON_VIEW (item->widget), item->item, &box))
     {
@@ -754,7 +754,7 @@ exo_icon_view_item_accessible_get_extents (AtkComponent *component,
   if (exo_icon_view_item_accessible_is_showing (item))
     {
       parent_obj = gtk_widget_get_accessible (item->widget);
-      atk_component_get_position (ATK_COMPONENT (parent_obj), &l_x, &l_y, coord_type);
+      atk_component_get_extents (ATK_COMPONENT (parent_obj), &l_x, &l_y, NULL, NULL, coord_type);
       *x = l_x + item->item->area.x;
       *y = l_y + item->item->area.y;
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list