Do not try to send updates for objects with managesDescendants.
Check that n_accessible_children >= 0 before using.
{
AtkObject *current;
guint i;
+ gint count = atk_object_get_n_accessible_children (accessible);
- for (i =0; i < atk_object_get_n_accessible_children (accessible); i++)
+ if (count < 0) count = 0;
+ for (i =0; i < count; i++)
{
current = atk_object_ref_accessible_child (accessible, i);
if (current)
const gchar *detail = NULL;
AtkObject *child;
+ if (has_manages_descendants (accessible)) return;
if (signal_hint->detail)
detail = g_quark_to_string (signal_hint->detail);