diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-21 16:59:22 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-21 22:33:45 +0100 |
commit | 69a516018f116a4cc9dc4f47a735a86daf381bbb (patch) | |
tree | ce7db9dad4912f85578de642ef693f81e45d5dbb /gtk/gtkrbtree.c | |
parent | af2ebe638c5040e89d7688c54839884146b9f3bb (diff) | |
download | gtk+-69a516018f116a4cc9dc4f47a735a86daf381bbb.tar.gz |
rbtree: Mark all debug sections as debug
Diffstat (limited to 'gtk/gtkrbtree.c')
-rw-r--r-- | gtk/gtkrbtree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkrbtree.c b/gtk/gtkrbtree.c index 33cb6d202e..53faea2bea 100644 --- a/gtk/gtkrbtree.c +++ b/gtk/gtkrbtree.c @@ -64,6 +64,7 @@ _gtk_rbnode_new (GtkRBTree *tree, static void _gtk_rbnode_free (GtkRBNode *node) { +#ifdef G_ENABLE_DEBUG if (gtk_get_debug_flags () & GTK_DEBUG_TREE) { node->left = (gpointer) 0xdeadbeef; @@ -74,6 +75,7 @@ _gtk_rbnode_free (GtkRBNode *node) node->count = 56789; node->flags = 0; } +#endif g_slice_free (GtkRBNode, node); } |