From: Jens Axboe Date: Tue, 5 Jul 2016 20:23:56 +0000 (-0600) Subject: gfio: call g_thread_init() for <= 2.31.0 X-Git-Tag: fio-2.13~22 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=f1c4b3727386bd8da3617a6730ad55cf2ba04ec8 gfio: call g_thread_init() for <= 2.31.0 Signed-off-by: Jens Axboe --- 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