diff options
author | Rajkumar Sivasamy <rajkumar.siva@wipro.com> | 2002-08-21 06:57:32 +0000 |
---|---|---|
committer | Deepa Natarajan <deepa@src.gnome.org> | 2002-08-21 06:57:32 +0000 |
commit | a1a52d368f7e715dceb17dcf5d3a207321d00e01 (patch) | |
tree | f1e5ec6580872fdd94b1164f3af3572770a2d971 /libwnck/workspace-accessible.c | |
parent | ec38cfe920553480ca0a5a11e9d2f85471e853b6 (diff) | |
download | libwnck-a1a52d368f7e715dceb17dcf5d3a207321d00e01.tar.gz |
Fix wrong entries for the index of child atkobject. Fix wrong entries for
2002-08-21 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
* libwnck/pager-accessible.c: Fix wrong entries for the index of
child atkobject.
* libwnck/workspace-accessible.c: Fix wrong entries for child
atkobject's component interface.
Fixes Bug 84854.
Diffstat (limited to 'libwnck/workspace-accessible.c')
-rw-r--r-- | libwnck/workspace-accessible.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/libwnck/workspace-accessible.c b/libwnck/workspace-accessible.c index 94fd216..586752c 100644 --- a/libwnck/workspace-accessible.c +++ b/libwnck/workspace-accessible.c @@ -134,18 +134,7 @@ wnck_workspace_accessible_get_extents (AtkComponent *component, g_return_if_fail (WNCK_IS_PAGER (pager)); -#if 0 - /* FIXME I don't have a fricking clue which one of these million god - * damn ATK objects is the WnckWorkspaceAccessible, but we want the - * ->index field from it. - */ - _wnck_pager_get_workspace_rect (pager, space_accessible->index, &rect); -#else - rect.x = 0; - rect.y = 0; - rect.width = 0; - rect.height = 0; -#endif + _wnck_pager_get_workspace_rect (pager, WNCK_WORKSPACE_ACCESSIBLE (component)->index, &rect); *x = rect.x; *y = rect.y; @@ -252,11 +241,6 @@ wnck_workspace_accessible_get_description (AtkObject *obj) static gint wnck_workspace_accessible_get_index_in_parent (AtkObject *obj) { - GObject *g_obj; - AtkGObjectAccessible *atk_gobj; - WnckWorkspace *workspace; - int index = 0; - g_return_val_if_fail (WNCK_IS_WORKSPACE_ACCESSIBLE (obj), -1); return WNCK_WORKSPACE_ACCESSIBLE (obj)->index; |