summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sanchez Prada <mario.prada@samsung.com>2013-06-03 10:53:43 +0100
committerMario Sanchez Prada <mario.prada@samsung.com>2013-06-03 10:53:43 +0100
commit3a916200a842b7017688bca50d29356c5ccf2834 (patch)
treecf1babc70af14f004c556a05b22b18488fdcd17f
parentcc3202b40e5c03b03adf717bac6e14130eb85553 (diff)
downloadatk-3a916200a842b7017688bca50d29356c5ccf2834.tar.gz
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
-rwxr-xr-xatk/atkobject.c8
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)