From: Jean-Philippe Orsini Date: Mon, 4 Aug 2014 07:18:40 +0000 (+0200) Subject: Fixed psensor does not start: Attempt to unlock mutex that was not locked during... X-Git-Tag: v1.0.3~3 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=2483bfff28a350561abaf9c6d4c8d190768ddd2e Fixed psensor does not start: Attempt to unlock mutex that was not locked during startup with glib 2.41.2. (LP: #1346299). --- diff --git a/NEWS b/NEWS index 5e2df56..995a86f 100644 --- a/NEWS +++ b/NEWS @@ -4,9 +4,11 @@ Psensor NEWS v1.0.3 ------ -* fixed bug: psensor not autostarted when $HOME/.config/autostart does +* Fixed bug: psensor not autostarted when $HOME/.config/autostart does not exist. -* fixed few swedish translations (Josef Andersson). +* Fixed few swedish translations (Josef Andersson). +* Fixed psensor does not start: Attempt to unlock mutex that was not + locked during startup with glib 2.41.2. (LP: #1346299). v1.0.2 ------ diff --git a/NEWS.html b/NEWS.html index ccf68c4..5ab4633 100644 --- a/NEWS.html +++ b/NEWS.html @@ -381,6 +381,30 @@ asciidoc.install();
+

v1.0.3

+
+
    +
  • +

    +Fixed bug: psensor not autostarted when $HOME/.config/autostart does + not exist. +

    +
  • +
  • +

    +Fixed few swedish translations (Josef Andersson). +

    +
  • +
  • +

    +Fixed psensor does not start: Attempt to unlock mutex that was not + locked during startup with glib 2.41.2. (LP: #1346299). +

    +
  • +
+
+
+

v1.0.2

    @@ -2620,7 +2644,7 @@ Fixed BR1: crash when no temperature sensor is available

    diff --git a/doc/faq.html b/doc/faq.html index 1ae0908..8d26d4f 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -742,7 +742,7 @@ more general, but can be configured to display sensors

    diff --git a/src/main.c b/src/main.c index 99d249e..9106b59 100644 --- a/src/main.c +++ b/src/main.c @@ -555,7 +555,16 @@ int main(int argc, char **argv) g_thread_init(NULL); #endif +#ifdef HAVE_APPINDICATOR_029 + /* gdk_thread_enter/leave only used to workaround mutex bug + * of appindicator < 0.2.9, so do not call gdk_threads_init + * if useless. Calling this function leads to + * crash "Attempt to unlock mutex that was not locked" with + * GLib 2.41.2 (new checking) probably due to bugs in GTK + * itself. + */ gdk_threads_init(); +#endif gtk_init(NULL, NULL);