Update the cache before raising an event to a listener, not after
authorMike Gorse <mgorse@novell.com>
Fri, 7 Jan 2011 18:58:27 +0000 (12:58 -0600)
committerMike Gorse <mgorse@novell.com>
Fri, 7 Jan 2011 18:58:27 +0000 (12:58 -0600)
commitb721dc16ffb99047198744502bd3b59c5ad27e54
tree95d34d0bbebb5e33d1661f387c886cab7a53e0b5
parent614c5881bf2a540a0cae3beb7f2b121d9cdaf6fb
Update the cache before raising an event to a listener, not after

When a children-changed, property-change, or state-changed event is fired,
update the cache before calling callbacks rather than after.  This ensures
that queries will return the correct information.
atspi/atspi-event-listener.c