X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fmemory.c;h=2db987178b936aa26138f6614c4c8283559a8f81;hb=3627a21a62fe61592d92968e3dc67a78fde63bf0;hp=df5e0a16787c7a38620ef3e46f070263093d3f5a;hpb=b5105db0d1f719f5b0fd45d0fd02e9ca1b8b9b51;p=platform%2Fupstream%2Fat-spi2-core.git diff --git a/test/memory.c b/test/memory.c index df5e0a1..2db9871 100644 --- a/test/memory.c +++ b/test/memory.c @@ -13,18 +13,17 @@ basic (AtspiAccessible *obj) 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); }