diff --git a/test/api/hb-test.h b/test/api/hb-test.h index f36d53b49..d569757a0 100644 --- a/test/api/hb-test.h +++ b/test/api/hb-test.h @@ -75,7 +75,9 @@ srcdir (void) static inline void hb_test_init (int *argc, char ***argv) { +#if !GLIB_CHECK_VERSION(2,32,0) g_thread_init (NULL); +#endif g_test_init (argc, argv, NULL); }