g_thread_init() is deprecated
This commit is contained in:
parent
1bc1cb3603
commit
5e113a4b79
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue