g_thread_init() is deprecated

This commit is contained in:
Behdad Esfahbod 2012-06-16 15:26:13 -04:00
parent 1bc1cb3603
commit 5e113a4b79
1 changed files with 2 additions and 0 deletions

View File

@ -75,7 +75,9 @@ srcdir (void)
static inline void static inline void
hb_test_init (int *argc, char ***argv) hb_test_init (int *argc, char ***argv)
{ {
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init (NULL); g_thread_init (NULL);
#endif
g_test_init (argc, argv, NULL); g_test_init (argc, argv, NULL);
} }