From: Jean-Philippe Orsini Date: Sun, 22 Jan 2012 16:42:51 +0000 (+0000) Subject: g_thread_init should not be called since 2.31 (and not 2.32). X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=1db9421e9d5390fbd714c927cf9173817717ca08 g_thread_init should not be called since 2.31 (and not 2.32). Glib 2.31 is the devel version of 2.32 --- diff --git a/NEWS b/NEWS index 29f241d..7c57a06 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ ** psensor: fixed sensor type displayed in sensor preferences dialog. ** psensor: fixed compilation error on 64bits with ATI/AMD GPU support. -** psensor: not calling g_thread_init when compiled with glib >= 2.32. +** psensor: not calling g_thread_init when compiled with glib >= 2.31. * v0.6.2.16 diff --git a/src/main.c b/src/main.c index 43ee26a..32d8927 100644 --- a/src/main.c +++ b/src/main.c @@ -439,7 +439,7 @@ int main(int argc, char **argv) log_init(); log_glib_info(); -#if !(GLIB_CHECK_VERSION(2, 32, 0)) +#if !(GLIB_CHECK_VERSION(2, 31, 0)) /* * Since GLib 2.32 g_thread_init call is deprecated and not * needed. Documentation of this method is not clear whether