[aravis] introspection: fix annotation.



commit c5f3056c9f931c00953a7d34b427523842c608b8
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Oct 16 21:37:32 2011 +0200

    introspection: fix annotation.

 src/arvgccategory.c    |    2 +-
 src/arvgcenumeration.c |    7 +++++++
 src/arvgcnode.c        |   15 ++++++++++++---
 3 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/src/arvgccategory.c b/src/arvgccategory.c
index 4a3c0fb..49651c4 100644
--- a/src/arvgccategory.c
+++ b/src/arvgccategory.c
@@ -58,7 +58,7 @@ arv_gc_category_add_element (ArvGcNode *node, const char *name, const char *cont
  *
  * Get a list of strings with the name of the features listed in the given category node.
  *
- * Returns: a list of strings.
+ * Returns: (element-type utf8) (transfer none): a list of strings.
  */
 
 const GSList *
diff --git a/src/arvgcenumeration.c b/src/arvgcenumeration.c
index 55d6f40..d8f97d7 100644
--- a/src/arvgcenumeration.c
+++ b/src/arvgcenumeration.c
@@ -179,6 +179,13 @@ arv_gc_enumeration_set_int_value (ArvGcEnumeration *enumeration, gint64 value)
 				   &enumeration->value, value);
 }
 
+/**
+ * arv_gc_enumeration_get_entries:
+ * enumeration: a #ArvGcEnumeration
+ *
+ * Returns: (element-type ArvGcNode) (transfer none): the list of enumeration entry nodes.
+ */
+
 const GSList *
 arv_gc_enumeration_get_entries (ArvGcEnumeration *enumeration)
 {
diff --git a/src/arvgcnode.c b/src/arvgcnode.c
index 9807e92..ab050ef 100644
--- a/src/arvgcnode.c
+++ b/src/arvgcnode.c
@@ -173,12 +173,21 @@ arv_gc_node_add_child (ArvGcNode *node, ArvGcNode *child)
 	node->priv->n_childs++;
 }
 
+/**
+ * arv_gc_node_get_childs:
+ * @gc_node: a #ArvGcNode
+ *
+ * Get the list of node childs.
+ *
+ * Returns: (element-type ArvGcNode) (transfer none): a list of #ArvGcNode.
+ */
+
 const GSList *
-arv_gc_node_get_childs (ArvGcNode *node)
+arv_gc_node_get_childs (ArvGcNode *gc_node)
 {
-	g_return_val_if_fail (ARV_IS_GC_NODE (node), NULL);
+	g_return_val_if_fail (ARV_IS_GC_NODE (gc_node), NULL);
 
-	return node->priv->childs;
+	return gc_node->priv->childs;
 }
 
 unsigned int



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