+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
+2001-11-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+
+ * glib/gtree.c (g_tree_traverse): Explain the deprecation in
+ some detail.
+
Mon Nov 26 09:42:24 2001 Tim Janik <timj@gtk.org>
* configure.in: provide GLIB_SIZEOF_SIZE_T.
* @user_data: user data to pass to the function.
*
* Calls the given function for each node in the GTree. This function is
- * deprecated, use g_tree_foreach() instead.
+ * deprecated, since the order of a balanced tree is somewhat arbitrary.
+ * If you just want to visit all nodes in some order, use g_tree_foreach()
+ * instead. If you really need to visit nodes in a specific order, consider
+ * using an <link linkend="glib-N-ary-Trees">N-ary Tree</link>.
**/
void
g_tree_traverse (GTree *tree,
void g_tree_foreach (GTree *tree,
GTraverseFunc func,
gpointer user_data);
+
+#ifndef G_DISABLE_DEPRECATED
void g_tree_traverse (GTree *tree,
GTraverseFunc traverse_func,
GTraverseType traverse_type,
gpointer user_data);
+#endif /* G_DISABLE_DEPRECATED */
+
gpointer g_tree_search (GTree *tree,
GCompareFunc search_func,
gconstpointer user_data);