From f1c4b3727386bd8da3617a6730ad55cf2ba04ec8 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 5 Jul 2016 14:23:56 -0600 Subject: [PATCH] gfio: call g_thread_init() for <= 2.31.0 Signed-off-by: Jens Axboe --- gfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfio.c b/gfio.c index e3bcbdf0..37c18189 100644 --- a/gfio.c +++ b/gfio.c @@ -1677,7 +1677,7 @@ static void init_ui(int *argc, char **argv[], struct gui *ui) * Without it, the update that happens in gfio_update_thread_status * doesn't really happen in a timely fashion, you need expose events */ -#if !GTK_CHECK_VERSION(2, 24, 0) +#if !GLIB_CHECK_VERSION(2, 31, 0) if (!g_thread_supported()) g_thread_init(NULL); #endif -- 2.25.1