summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2014-05-22 22:48:09 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-05-23 09:41:42 +0200
commit9ebdbe3180901a13016f6e4a1c13f6478bcb21e3 (patch)
tree64b85f6a69fc50ed72a250633635dad80ed5a4d0
parent8c90408f1bbce1d25541438ce5547ad84f4af329 (diff)
overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.1.2
This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863 https://bugzilla.gnome.org/show_bug.cgi?id=730596
-rw-r--r--gi/overrides/Gst.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py
index 140b557..c2fa37f 100644
--- a/gi/overrides/Gst.py
+++ b/gi/overrides/Gst.py
@@ -78,6 +78,9 @@ class Caps(Gst.Caps):
raise TypeError("wrong arguments when creating GstCaps object")
+ def __init__(self, *args, **kwargs):
+ return super(Caps, self).__init__()
+
def __str__(self):
return self.to_string()