Fix a failure to respond to children-changed events in some cases
authorMike Gorse <mgorse@novell.com>
Tue, 28 Jun 2011 20:00:41 +0000 (15:00 -0500)
committerMike Gorse <mgorse@novell.com>
Tue, 28 Jun 2011 20:00:41 +0000 (15:00 -0500)
commit0ac800abfa8a2fc0bc7834f138a016a1e96c1644
treed57a90ec712bbfbf84673688549367b14b6a2f7f
parentd72b352fc364359363b7ee16327023576ef4c4f0
Fix a failure to respond to children-changed events in some cases

When a children-changed event is received, the cache of children should
be updated if present.  However, to test this, the code was checking for
the presence of a non-NULL list of children, which would be the case if
the object initially had 0 children.  The correct thing to do is to
check the accessible's cached_properties.
atspi/atspi-event-listener.c