Remove all uses of G_CONST_RETURN
[platform/upstream/glib.git] / glib / gnode.h
index 9a15e0e..205d47c 100644 (file)
@@ -24,7 +24,7 @@
  * GLib at ftp://ftp.gtk.org/pub/gtk/.
  */
 
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__G_LIB_H__) && !defined (GLIB_COMPILATION)
+#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
 #error "Only <glib.h> can be included directly."
 #endif
 
@@ -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)