docs: Fix documentation for atk_object_get_attributes()
authorMario Sanchez Prada <mario.prada@samsung.com>
Mon, 3 Jun 2013 09:53:43 +0000 (10:53 +0100)
committerMario Sanchez Prada <mario.prada@samsung.com>
Mon, 3 Jun 2013 09:53:43 +0000 (10:53 +0100)
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

index ea0df36..fe12047 100755 (executable)
@@ -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)