From 4c08c3396c3cdadc939a9889f1e4664f938921a0 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Thu, 22 May 2014 22:48:09 +0200 Subject: [PATCH] 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 --- gi/overrides/Gst.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py index 140b557068..c2fa37f9a5 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()