[lasem] build: fix gir-scanner warnings.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] build: fix gir-scanner warnings.
- Date: Fri, 30 Nov 2012 10:07:12 +0000 (UTC)
commit b48779bc82520201a23ceafc5579dcb59efc0574
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Fri Nov 30 10:52:41 2012 +0100
build: fix gir-scanner warnings.
'Returns' or 'Return value' must be the last line, with a blank line before.
src/lsmdomimplementation.c | 1 +
src/lsmdomnamednodemap.c | 4 ++++
src/lsmdomnode.c | 13 +++++++++++--
src/lsmdomnodelist.c | 1 +
4 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/src/lsmdomimplementation.c b/src/lsmdomimplementation.c
index 812e814..2db72bb 100644
--- a/src/lsmdomimplementation.c
+++ b/src/lsmdomimplementation.c
@@ -44,6 +44,7 @@ lsm_dom_implementation_add_document_create_function (const char *qualified_name,
* lsm_dom_implementation_create_document:
* @namespace_uri: namespace uri
* @qualified_name: qualified name
+ *
* Returns: (transfer full): a new #LsmDomDocument
*/
diff --git a/src/lsmdomnamednodemap.c b/src/lsmdomnamednodemap.c
index 6991a36..b55a89e 100644
--- a/src/lsmdomnamednodemap.c
+++ b/src/lsmdomnamednodemap.c
@@ -35,6 +35,7 @@
* lsm_dom_named_node_map_get_named_item:
* @map: a #LsmDomNamedNodeMap
* @name: name of the requested item
+ *
* Returns: (transfer none): The corresponding node, NULL if not found.
*/
@@ -50,6 +51,7 @@ lsm_dom_named_node_map_get_named_item (LsmDomNamedNodeMap *map, const char *name
* lsm_dom_named_node_map_set_named_item:
* @map: a #LsmDomNamedNodeMap
* @node: a #LsmDomNode
+ *
* Returns: (transfer none): same as @node, NULL on error.
*/
@@ -65,6 +67,7 @@ lsm_dom_named_node_map_set_named_item (LsmDomNamedNodeMap *map, LsmDomNode *node
* lsm_dom_named_node_map_remove_named_item:
* @map: a #LsmDomNamedNodeMap
* @name: name of the item to remove
+ *
* Returns: (transfer full): removed node, NULL on error.
*/
@@ -80,6 +83,7 @@ lsm_dom_named_node_map_remove_named_item (LsmDomNamedNodeMap *map, const char *n
* lsm_dom_named_node_map_get_item:
* @map: a #LsmDomNamedNodeMap
* @index: item index
+ *
* Returns: (transfer none): The node corresponding to @index, NULL on error.
*/
diff --git a/src/lsmdomnode.c b/src/lsmdomnode.c
index 758d670..6971cfb 100644
--- a/src/lsmdomnode.c
+++ b/src/lsmdomnode.c
@@ -159,9 +159,10 @@ static GObjectClass *parent_class = NULL;
/**
* lsm_dom_node_get_node_name:
* @self: a #LsmDomNode
- * Return value: the node name.
*
* Gets the node name.
+ *
+ * Return value: the node name.
*/
const char*
@@ -180,9 +181,10 @@ lsm_dom_node_get_node_name (LsmDomNode* self)
/**
* lsm_dom_node_get_node_value:
* @self: a #LsmDomNode
- * Return value: the node value.
*
* Gets the node value.
+ *
+ * Return value: the node value.
*/
const char*
@@ -225,6 +227,7 @@ LsmDomNodeType lsm_dom_node_get_node_type (LsmDomNode* self)
/**
* lsm_dom_node_get_parent_node:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node parent
*/
@@ -239,6 +242,7 @@ lsm_dom_node_get_parent_node (LsmDomNode* self)
/**
* lsm_dom_node_get_child_nodes:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node child list
*/
@@ -262,6 +266,7 @@ lsm_dom_node_get_child_nodes (LsmDomNode* self)
/**
* lsm_dom_node_get_first_child:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node first child
*/
@@ -276,6 +281,7 @@ lsm_dom_node_get_first_child (LsmDomNode* self)
/**
* lsm_dom_node_get_last_child:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node last child
*/
@@ -290,6 +296,7 @@ lsm_dom_node_get_last_child (LsmDomNode* self)
/**
* lsm_dom_node_get_previous_sibling:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node previous sibling
*/
@@ -304,6 +311,7 @@ lsm_dom_node_get_previous_sibling (LsmDomNode* self)
/**
* lsm_dom_node_get_next_sibling:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node next sibling
*/
@@ -326,6 +334,7 @@ lsm_dom_node_get_attributes (LsmDomNode* self)
/**
* lsm_dom_node_get_owner_document:
* @self: a #LsmDomNode
+ *
* Returns: (transfer none): node owner document
*/
diff --git a/src/lsmdomnodelist.c b/src/lsmdomnodelist.c
index 2b40f30..91cf3dd 100644
--- a/src/lsmdomnodelist.c
+++ b/src/lsmdomnodelist.c
@@ -35,6 +35,7 @@
* lsm_dom_node_list_get_item:
* @list: a #LsmDomNodeList
* @index: id of the item to retrieve
+ *
* Returns: (transfer none): the node corresponding to index, NULL on error.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]