summaryrefslogtreecommitdiff
path: root/tests/test-pangocairo-threads.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-08 12:50:01 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-08 12:50:01 -0600
commit95d13cec4da1571ea8b649fa3b972eea3f4b40db (patch)
treec97ee315ad74bb397265e7aa70e32fa0c35ef95b /tests/test-pangocairo-threads.c
parent112cd3cfdd03854aefc3c88107aa1084879b251c (diff)
downloadpango-95d13cec4da1571ea8b649fa3b972eea3f4b40db.tar.gz
Put g_type_init() back in
Diffstat (limited to 'tests/test-pangocairo-threads.c')
-rw-r--r--tests/test-pangocairo-threads.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 6d497601..1dfe53c4 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -78,6 +78,10 @@ main (int argc, char **argv)
if (argc > 2)
num_iters = atoi (argv[2]);
+#if !GLIB_CHECK_VERSION (2, 35, 3)
+ g_type_init();
+#endif
+
g_mutex_lock (&mutex);
for (i = 0; i < num_threads; i++)