[istanbul] Ensure gobject threads are initialised when istanbul is run.



commit 25377c9b8f69226b09d97502a865d0b0c253f77f
Author: Zaheer Merali <zaheermerali gmail com>
Date:   Thu Mar 25 19:09:43 2010 +0100

    Ensure gobject threads are initialised when istanbul is run.

 bin/istanbul.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bin/istanbul.in b/bin/istanbul.in
index d5ddc25..00e8399 100644
--- a/bin/istanbul.in
+++ b/bin/istanbul.in
@@ -21,6 +21,8 @@ import sys
 if not '@PYGTK_DIR@' in sys.path:
     sys.path.insert(0, '@PYGTK_DIR@')
 
+import gobject
+gobject.threads_init()
 import pygtk
 pygtk.require('2.0')
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]