gint count;
gint i;
AtspiAccessible *accessible;
- GError *error = NULL;
- str = atspi_accessible_get_name (obj, &error);
+ str = atspi_accessible_get_name (obj, NULL);
if (str)
g_free (str);
accessible = atspi_accessible_get_parent (obj, NULL);
if (accessible)
g_object_unref (accessible);
- count = atspi_accessible_get_child_count (obj, &error);
+ count = atspi_accessible_get_child_count (obj, NULL);
for (i = 0; i < count; i++)
{
- accessible = atspi_accessible_get_child_at_index (obj, i, &error);
+ accessible = atspi_accessible_get_child_at_index (obj, i, NULL);
if (accessible)
g_object_unref (accessible);
}