summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkrbtree.c9
-rw-r--r--gtk/gtkrbtree.h7
2 files changed, 7 insertions, 9 deletions
diff --git a/gtk/gtkrbtree.c b/gtk/gtkrbtree.c
index 714fb57ac2..33cb6d202e 100644
--- a/gtk/gtkrbtree.c
+++ b/gtk/gtkrbtree.c
@@ -36,6 +36,11 @@ static inline void _fixup_validation (GtkRBTree *tree,
GtkRBNode *node);
static inline void _fixup_total_count (GtkRBTree *tree,
GtkRBNode *node);
+#ifdef G_ENABLE_DEBUG
+static void _gtk_rbtree_test (const gchar *where,
+ GtkRBTree *tree);
+static void _gtk_rbtree_debug_spew (GtkRBTree *tree);
+#endif
@@ -1706,7 +1711,7 @@ _gtk_rbtree_test_structure (GtkRBTree *tree)
_gtk_rbtree_test_structure_helper (tree, tree->root);
}
-void
+static void
_gtk_rbtree_test (const gchar *where,
GtkRBTree *tree)
{
@@ -1769,7 +1774,7 @@ _gtk_rbtree_debug_spew_helper (GtkRBTree *tree,
}
}
-void
+static void
_gtk_rbtree_debug_spew (GtkRBTree *tree)
{
g_return_if_fail (tree != NULL);
diff --git a/gtk/gtkrbtree.h b/gtk/gtkrbtree.h
index 4bb9c4b553..337406e9a9 100644
--- a/gtk/gtkrbtree.h
+++ b/gtk/gtkrbtree.h
@@ -163,13 +163,6 @@ void _gtk_rbtree_prev_full (GtkRBTree *tree,
gint _gtk_rbtree_get_depth (GtkRBTree *tree);
-/* This func checks the integrity of the tree */
-#ifdef G_ENABLE_DEBUG
-void _gtk_rbtree_test (const gchar *where,
- GtkRBTree *tree);
-void _gtk_rbtree_debug_spew (GtkRBTree *tree);
-#endif
-
G_END_DECLS