diff options
Diffstat (limited to 'sources/generated/Gst/Caps.cs')
-rw-r--r-- | sources/generated/Gst/Caps.cs | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/sources/generated/Gst/Caps.cs b/sources/generated/Gst/Caps.cs index 4037187..0c56e6d 100644 --- a/sources/generated/Gst/Caps.cs +++ b/sources/generated/Gst/Caps.cs @@ -459,29 +459,12 @@ namespace Gst { } } - class FinalizerInfo { - IntPtr handle; - - public FinalizerInfo (IntPtr handle) - { - this.handle = handle; - } - - public bool Handler () - { - gst_caps_unref (handle); - return false; + protected override Action<IntPtr> DisposeUnmanagedFunc { + get { + return gst_caps_unref; } } - ~Caps () - { - if (!Owned) - return; - FinalizerInfo info = new FinalizerInfo (Handle); - GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler)); - } - // Internal representation of the wrapped structure ABI. static GLib.AbiStruct _abi_info = null; |