summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/corrupt.c1
-rw-r--r--test/internals/refs.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/test/corrupt.c b/test/corrupt.c
index 1a7d4460..b0084fd3 100644
--- a/test/corrupt.c
+++ b/test/corrupt.c
@@ -380,7 +380,6 @@ main (int argc,
char **argv)
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
g_test_add ("/corrupt/tcp", Fixture, "tcp:host=127.0.0.1", setup,
test_corrupt, teardown);
diff --git a/test/internals/refs.c b/test/internals/refs.c
index 202dc043..85cb3bc0 100644
--- a/test/internals/refs.c
+++ b/test/internals/refs.c
@@ -585,12 +585,6 @@ int
main (int argc,
char **argv)
{
- /* In GLib >= 2.24, < 2.31 this acts like g_thread_init() but avoids
- * the deprecation of that function. In GLib >= 2.32 this is not
- * necessary at all.
- */
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("https://bugs.freedesktop.org/show_bug.cgi?id=");