gst/__init__.py: require pygtk 2.0 when importing gst it only works with 2.0, and it sets up the path correctly when ...

Original commit message from CVS:

* gst/__init__.py:
require pygtk 2.0 when importing gst
it only works with 2.0, and it sets up the path correctly
when running against a pygtk compiled into a different prefix
This commit is contained in:
Thomas Vander Stichele 2005-09-28 07:40:15 +00:00
parent 41415bdf0d
commit 0ef50e2d9a
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
require pygtk 2.0 when importing gst
it only works with 2.0, and it sets up the path correctly
when running against a pygtk compiled into a different prefix
2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.defs:

View file

@ -28,6 +28,8 @@ try:
except:
pass
import pygtk
pygtk.require('2.0')
import gobject
del gobject