summaryrefslogtreecommitdiff
path: root/packages/python/python-gst/import-gobject-instead-of-pygtk.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-13 18:38:48 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-13 18:38:48 +0000
commitc2ecee68b3cf7a30ffb34756dbaa888e76a36fe9 (patch)
tree359177acef9ccf4844f249758ff14c81da67abcd /packages/python/python-gst/import-gobject-instead-of-pygtk.patch
parent61b3dd67bad9d7ed1c27f30a9d9eafb03034b77f (diff)
parent9a2c8e90f77325a2b21f41d7ac83a0f040167349 (diff)
merge of 'aac87a2141ed5dcc6cf1e3015a21d15463f3d048'
and 'c407c3e3af9b704a138bada2e0b7c565f8c293be'
Diffstat (limited to 'packages/python/python-gst/import-gobject-instead-of-pygtk.patch')
-rw-r--r--packages/python/python-gst/import-gobject-instead-of-pygtk.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/python/python-gst/import-gobject-instead-of-pygtk.patch b/packages/python/python-gst/import-gobject-instead-of-pygtk.patch
new file mode 100644
index 0000000000..b4dafa1cea
--- /dev/null
+++ b/packages/python/python-gst/import-gobject-instead-of-pygtk.patch
@@ -0,0 +1,19 @@
+Index: gst-python-0.10.10/gst/__init__.py
+===================================================================
+--- gst-python-0.10.10.orig/gst/__init__.py
++++ gst-python-0.10.10/gst/__init__.py
+@@ -28,13 +28,8 @@ try:
+ except:
+ pass
+
+-import sys
++import sys, gobject
+
+-# we always require 2.0 of pygtk; so if pygtk is not imported anywhere
+-# yet, we import pygtk here and .require
+-if 'gobject' not in sys.modules:
+- import pygtk
+- pygtk.require('2.0')
+
+ class Value:
+ def __init__(self, type):