[pitivi] Initing GObject's threads looks like it is a good idea :)



commit 57530f16259c2e0089f2427a0ff8e64320e28a26
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Wed Aug 8 12:48:28 2012 +0200

    Initing GObject's threads looks like it is a good idea :)
    
    Have to autogen again for this to be updated
    
    Conflicts:
    	bin/pitivi.in

 bin/pitivi.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/bin/pitivi.in b/bin/pitivi.in
index 20f5928..0322b5f 100644
--- a/bin/pitivi.in
+++ b/bin/pitivi.in
@@ -114,6 +114,10 @@ def _init_gobject_gtk_gst_ges():
     except ImportError:
         raise SystemExit("GStreamer Editing Services couldn't be found!")
 
+    from gi.repository import GObject
+
+    GObject.threads_init()
+
     try:
         pitivi.utils.pygtkcompat.enable_goocanvas()
     except ImportError:



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