add -DG_DISABLED_DEPRECATED

Tue Oct 15 15:07:45 2002  Manish Singh  <yosh@gimp.org>

        * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
        add -DG_DISABLED_DEPRECATED

        * tests/gio-test.c tests/mainloop-test.c tests/string-test.c
        tests/testglib.c test/tree-test.c tests/unicode-collate.c
        tests/unicode-normalize.c: Deprecation cleanup
This commit is contained in:
Manish Singh
2002-10-15 22:16:57 +00:00
committed by Manish Singh
parent 1565a2027e
commit d1f37d5053
17 changed files with 103 additions and 41 deletions

View File

@@ -103,14 +103,14 @@ main (int argc,
g_tree_insert (tree, &chars[i], &chars[i]);
}
g_tree_traverse (tree, my_traverse, G_IN_ORDER, NULL);
g_tree_foreach (tree, my_traverse, NULL);
g_assert (g_tree_nnodes (tree) == (10 + 26 + 26));
for (i = 0; i < 10; i++)
g_tree_remove (tree, &chars[i]);
g_tree_traverse (tree, my_traverse, G_IN_ORDER, NULL);
g_tree_foreach (tree, my_traverse, NULL);
return 0;
}