mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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:
committed by
Manish Singh
parent
1565a2027e
commit
d1f37d5053
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user