[atk] docs: Fix documentation for atk_object_get_attributes()



commit 3a916200a842b7017688bca50d29356c5ccf2834
Author: Mario Sanchez Prada <mario prada samsung com>
Date:   Mon Jun 3 10:53:43 2013 +0100

    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 files 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]