[ocrfeeder] studioBuilder: Init the threads before GTK's main



commit e35cb7028b86324c3d2c0a1e826eb6e184d4ad02
Author: Joaquim Rocha <jrocha igalia com>
Date:   Mon Jul 5 10:55:08 2010 +0200

    studioBuilder: Init the threads before GTK's main

 studio/studioBuilder.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/studio/studioBuilder.py b/studio/studioBuilder.py
index 7a1cfe6..e0d8593 100644
--- a/studio/studioBuilder.py
+++ b/studio/studioBuilder.py
@@ -124,6 +124,7 @@ class Studio:
                 add_engines_dialog.destroy()
 
     def run(self):
+        gtk.gdk.threads_init()
         gtk.main()
 
     def dragDataReceived(self, widget, context, x, y, selection, target_type, timestamp):



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