Improve some GNode docs

See bug 561248
This commit is contained in:
Matthias Clasen 2010-07-08 19:26:25 -04:00
parent ac342a8d0c
commit cc44ef148c

View File

@ -250,7 +250,8 @@ GNode* g_node_last_sibling (GNode *node);
*
* Gets the previous sibling of a #GNode.
*
* Returns: the previous sibling of @node, or %NULL if @node is %NULL
* Returns: the previous sibling of @node, or %NULL if @node is the first
* node or %NULL
*/
#define g_node_prev_sibling(node) ((node) ? \
((GNode*) (node))->prev : NULL)
@ -261,7 +262,8 @@ GNode* g_node_last_sibling (GNode *node);
*
* Gets the next sibling of a #GNode.
*
* Returns: the next sibling of @node, or %NULL if @node is %NULL
* Returns: the next sibling of @node, or %NULL if @node is the last node
* or %NULL
*/
#define g_node_next_sibling(node) ((node) ? \
((GNode*) (node))->next : NULL)