gobject-introspection r585 - trunk/giscanner
- From: walters svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: gobject-introspection r585 - trunk/giscanner
 
- Date: Sun,  7 Sep 2008 22:24:38 +0000 (UTC)
 
Author: walters
Date: Sun Sep  7 22:24:37 2008
New Revision: 585
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=585&view=rev
Log:
Add comment about g_thread_init call
Modified:
   trunk/giscanner/cgobject.py
Modified: trunk/giscanner/cgobject.py
==============================================================================
--- trunk/giscanner/cgobject.py	(original)
+++ trunk/giscanner/cgobject.py	Sun Sep  7 22:24:37 2008
@@ -134,6 +134,9 @@
 _gobj = ctypes.CDLL(_library_path, ctypes.RTLD_GLOBAL)
 _gobj.g_type_init()
 
+# We need to initialize threads just in case part of the library
+# wants to use gthreads; libsoup seems to use g_once for its
+# type init functions.
 if os.name == 'nt':
     _threads_library_path = find_library('libgthread-2.0-0')
 else:
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]