for (i = 0; i < num_child; i++) { child = Accessible_getChildAtIndex (accessible, i); if (!child) continue; if (Accessible_getRole (child) == SPI_ROLE_TABLE_CELL) { Accessibile_unref (child); break; } /* Call this function recursively, until we reach the end of depth first search in all the given object handle */ accessible_object_handle (child, current_parent, i, current_context); Accessible_unref (child);