diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2014-05-22 22:48:09 +0200 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-05-22 23:09:27 +0200 |
commit | 4c08c3396c3cdadc939a9889f1e4664f938921a0 (patch) | |
tree | 610389e06a101cf232433d3ffdcf5f0882fe753d /gi | |
parent | 16979ed48bd0dce9fa1e3711b6bf30b3e65b45ce (diff) |
overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.
This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863
https://bugzilla.gnome.org/show_bug.cgi?id=730596
Diffstat (limited to 'gi')
-rw-r--r-- | gi/overrides/Gst.py | 3 |
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() |