From: Dana Jansens Date: Fri, 30 Oct 2009 23:01:14 +0000 (-0400) Subject: Add comments. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bed353d79c3054df5dc28e42adbf85762dd3b05a;p=dana%2Fcg-glib.git Add comments. --- 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,