From bed353d79c3054df5dc28e42adbf85762dd3b05a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 30 Oct 2009 19:01:14 -0400 Subject: [PATCH] Add comments. --- glib/gtree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glib/gtree.c b/glib/gtree.c index 258a1cc6..ae0755c3 100644 --- a/glib/gtree.c +++ b/glib/gtree.c @@ -495,6 +495,8 @@ g_tree_next_version (GTree *tree) return ++tree->version; } +/* Make a new root pointer if the current one is not for the current version + of the tree */ static void g_tree_root_next_version (GTree *tree) { @@ -694,7 +696,8 @@ g_tree_priority (GTreeNode *node) return key? key : 1; } -/* internal insert routine */ +/* Internal insert routine. Always inserts into the current version of the + tree. */ static void g_tree_insert_internal (GTree *tree, gpointer key, -- 2.34.1