gst/__init__.py: Remove pygtk import and import gobject directly. It's up the app to call pygtk.require and no the li...

Original commit message from CVS:
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.
This commit is contained in:
Johan Dahlin 2004-05-03 16:51:50 +00:00
parent 54cab73355
commit a2d17fd974
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,9 @@
2004-05-03 Johan Dahlin <johan@gnome.org>
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.
* testsuite/event.py, testsuite/buffer.py: New tests.
* testsuite/common.py (run_silent): New function to enable stderr

View file

@ -20,8 +20,6 @@
# Author: David I. Lehn <dlehn@users.sourceforge.net>
#
import pygtk
pygtk.require('2.0')
import sys
import dl
@ -30,6 +28,9 @@ try:
except:
pass
import gobject
del gobject
sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
del sys, dl