summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-02 16:04:52 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-03 16:18:47 +0000
commit6976a7f1997472e06bf83b0a8828f335a1c65c4a (patch)
tree3e22b333266c1bc5e5208908dfbcac9bc28430f9 /test
parent9668c617269ee171b10cff105f0b5fe7b400ea7d (diff)
downloaddbus-6976a7f1997472e06bf83b0a8828f335a1c65c4a.tar.gz
Bump required GLib version to 2.36
This is for g_close(), which the next commit will use. It also lets us rely on g_type_init() being a no-op (since 2.32 the type system is always initialized by a global constructor). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88810 Reviewed-by: Philip Withnall
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=");