[libwnck/wip/muktupavels/gnome-3-18: 5/8] workspace-accessible: don't use deprecated atk_component_get_position



commit 38990cedf364bf69a91205e31c6c9bb03ac26cfb
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 22 15:54:35 2016 +0200

    workspace-accessible: don't use deprecated atk_component_get_position

 libwnck/workspace-accessible.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/workspace-accessible.c b/libwnck/workspace-accessible.c
index d0a8d31..d4f2352 100644
--- a/libwnck/workspace-accessible.c
+++ b/libwnck/workspace-accessible.c
@@ -135,7 +135,7 @@ wnck_workspace_accessible_get_extents (AtkComponent *component,
 
   g_return_if_fail (WNCK_IS_PAGER (pager));
 
-  atk_component_get_position (ATK_COMPONENT (parent), &px,&py, coords);
+  atk_component_get_extents (ATK_COMPONENT (parent), &px, &py, NULL, NULL, coords);
 
   _wnck_pager_get_workspace_rect (pager, WNCK_WORKSPACE_ACCESSIBLE (component)->index, &rect);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]