Fix atspi_accessible_get_index_in_parent when the parent is not cached
authorMike Gorse <mgorse@suse.com>
Mon, 19 Nov 2012 21:34:26 +0000 (15:34 -0600)
committerMike Gorse <mgorse@suse.com>
Mon, 19 Nov 2012 21:34:26 +0000 (15:34 -0600)
commit09915497d014e3ea9a146fa6ef8eb4fa94756708
tree9853a6a8ec6db0dc1a7f8dae510d4b6f01aa59b9
parentd0599189447966c74afacd45667300d38d968ce3
Fix atspi_accessible_get_index_in_parent when the parent is not cached

Atspi_accessible_get_index_in_parent was returning -1 if the object's
parent is NULL, regardless of whether the accessible_parent field is
currently valid.

https://bugzilla.gnome.org/show_bug.cgi?id=688057
atspi/atspi-accessible.c