[pango] Put g_type_init() back in



commit 95d13cec4da1571ea8b649fa3b972eea3f4b40db
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jan 8 12:50:01 2013 -0600

    Put g_type_init() back in

 tests/test-pangocairo-threads.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 6d49760..1dfe53c 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++)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]