add threads_init() function

Original commit message from CVS:
add threads_init() function
This commit is contained in:
David I. Lehn 2003-01-02 09:07:31 +00:00
parent adc7a92b83
commit b8ec40b07c
2 changed files with 8 additions and 0 deletions

View 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()

View 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()