From b8ec40b07cbaddadce40ab72698d3025e4248d68 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Thu, 2 Jan 2003 09:07:31 +0000 Subject: [PATCH] add threads_init() function Original commit message from CVS: add threads_init() function --- gst/__init__.py | 4 ++++ gstreamer/__init__.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gst/__init__.py b/gst/__init__.py index 2d66109e58..358110ce7e 100644 --- a/gst/__init__.py +++ b/gst/__init__.py @@ -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() diff --git a/gstreamer/__init__.py b/gstreamer/__init__.py index 2d66109e58..358110ce7e 100644 --- a/gstreamer/__init__.py +++ b/gstreamer/__init__.py @@ -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()