aboutsummaryrefslogtreecommitdiffstats
path: root/packages/python/python-gst/import-gobject-instead-of-pygtk.patch
blob: b4dafa1ceaf93cbdb803f7beb0357c159a045ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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):