* libspi/accessible.c:
(impl_accessibility_accessible_get_attributes):
Bug #404584. If there is no attributes, just return NULL.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@886
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2007-02-14 Li Yuan <li.yuan@sun.com>
+
+ * libspi/accessible.c:
+ (impl_accessibility_accessible_get_attributes):
+ Bug #404584. If there is no attributes, just return NULL.
+
2007-02-12 Li Yuan <li.yuan@sun.com>
* configure.in, NEWS: Uprev/release 1.17.0.
g_return_val_if_fail (object != NULL, NULL);
attributes = atk_object_get_attributes (object);
-
- bonobo_return_val_if_fail (attributes != NULL, NULL, ev);
+
+ if (attributes == NULL)
+ return NULL;
+
n_attributes = g_slist_length (attributes);
retval = CORBA_sequence_CORBA_string__alloc ();