empathy r1970 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1970 - trunk/libempathy
- Date: Fri, 12 Dec 2008 15:49:34 +0000 (UTC)
Author: xclaesse
Date: Fri Dec 12 15:49:34 2008
New Revision: 1970
URL: http://svn.gnome.org/viewvc/empathy?rev=1970&view=rev
Log:
Make sure to not init thread twice.
Modified:
trunk/libempathy/empathy-utils.c
Modified: trunk/libempathy/empathy-utils.c
==============================================================================
--- trunk/libempathy/empathy-utils.c (original)
+++ trunk/libempathy/empathy-utils.c Fri Dec 12 15:49:34 2008
@@ -52,7 +52,9 @@
return;
/* Setup glib. Threads are required for async GIO. */
- g_thread_init (NULL);
+ if (!g_thread_supported ()) {
+ g_thread_init (NULL);
+ }
g_type_init ();
/* Setup gettext */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]