add threads_init() function
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Thu, 2 Jan 2003 09:07:31 +0000 (09:07 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Thu, 2 Jan 2003 09:07:31 +0000 (09:07 +0000)
Original commit message from CVS:
add threads_init() function

gst/__init__.py
gstreamer/__init__.py

index 2d66109..358110c 100644 (file)
@@ -36,3 +36,7 @@ sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
 del devloc, sys, os
 
 from _gstreamer import *
+
+def threads_init():
+    import gtk
+    gtk.threads_init()
index 2d66109..358110c 100644 (file)
@@ -36,3 +36,7 @@ sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
 del devloc, sys, os
 
 from _gstreamer import *
+
+def threads_init():
+    import gtk
+    gtk.threads_init()