From 3a916200a842b7017688bca50d29356c5ccf2834 Mon Sep 17 00:00:00 2001 From: Mario Sanchez Prada Date: Mon, 3 Jun 2013 10:53:43 +0100 Subject: docs: Fix documentation for atk_object_get_attributes() Replace the wrong (transfer-none) annotation with (transfer-full), and suggest to free it with atk_attribute_set_free() when done. https://bugzilla.gnome.org/show_bug.cgi?id=701503 --- atk/atkobject.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/atk/atkobject.c b/atk/atkobject.c index ea0df36..fe12047 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -1223,9 +1223,11 @@ atk_implementor_ref_accessible (AtkImplementor *implementor) * * Since: 1.12 * - * Returns: (transfer none): an #AtkAttributeSet consisting of all explicit - * properties/annotations applied to the object, or an empty set if the object - * has no name-value pair attributes assigned to it. + * Returns: (transfer full): an #AtkAttributeSet consisting of all + * explicit properties/annotations applied to the object, or an empty + * set if the object has no name-value pair attributes assigned to + * it. This #atkattributeset should be freed by a call to + * atk_attribute_set_free(). */ AtkAttributeSet * atk_object_get_attributes (AtkObject *accessible) -- cgit v1.2.1