Comment 6 for bug 1346299

Jean-Philippe Orsini (jfi) wrote :

Reporter appears to use a glib version from a ppa and not from ubuntu stock repositories.

The result of my investigation is that it is the consequence of a new check in the glib since 2.41.
It is caused by the use of the deprecated function gdk_threads_init which is only needed to workaround
a bug of appindicator < 0.2.9. The root cause is probably a bug in GTK itself as psensor does not directly
use any gdk_thread_enter|leave with appindicator3.

Fixed by http://wpitchoune.net/gitweb/?p=psensor.git;a=commit;h=43574b89d00b319eb7d7602e92a9b482ae33d760 which removes the call of gdk_threads_init when not needed.