g_thread_init should not be called since 2.31 (and not 2.32).
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 22 Jan 2012 16:42:51 +0000 (16:42 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 22 Jan 2012 16:42:51 +0000 (16:42 +0000)
Glib 2.31 is the devel version of 2.32

NEWS
src/main.c

diff --git a/NEWS b/NEWS
index 29f241d..7c57a06 100644 (file)
--- 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
 
index 43ee26a..32d8927 100644 (file)
@@ -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