Move cache updates to an idle
authorMike Gorse <mgorse@novell.com>
Tue, 18 May 2010 22:44:48 +0000 (18:44 -0400)
committerMike Gorse <mgorse@novell.com>
Tue, 18 May 2010 22:44:48 +0000 (18:44 -0400)
commit75ff193c80938e04514e9f4a482baa81227be1a2
tree820abe9f405a9471d8daeee04ffe0ad426be7135
parentdf62d3656e0a286c85f029c82bde4f02e3ad6bb3
Move cache updates to an idle

When receiving a children-changed signal, we add a whole subtree to the
cache, but not all of the objects have necessarily been initialized yet,
so we may, eg, indicate in the cache that an object's role is UNKNOWN
(see BNC#600024).
This also fixes a crash when starting Firefox 3.6 with at-spi2.
atk-adaptor/accessible-cache.c
atk-adaptor/accessible-cache.h