From 5e113a4b7921ced6af2d53460a7a2f1d0185c02a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 16 Jun 2012 15:26:13 -0400 Subject: [PATCH] g_thread_init() is deprecated --- test/api/hb-test.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/api/hb-test.h b/test/api/hb-test.h index f36d53b4..d569757a 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); } -- GitLab