summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Sample.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst/Sample.cs')
-rw-r--r--sources/generated/Gst/Sample.cs23
1 files changed, 3 insertions, 20 deletions
diff --git a/sources/generated/Gst/Sample.cs b/sources/generated/Gst/Sample.cs
index 0a462af..c4dbc0b 100644
--- a/sources/generated/Gst/Sample.cs
+++ b/sources/generated/Gst/Sample.cs
@@ -148,29 +148,12 @@ namespace Gst {
}
}
- class FinalizerInfo {
- IntPtr handle;
-
- public FinalizerInfo (IntPtr handle)
- {
- this.handle = handle;
- }
-
- public bool Handler ()
- {
- gst_sample_unref (handle);
- return false;
+ protected override Action<IntPtr> DisposeUnmanagedFunc {
+ get {
+ return gst_sample_unref;
}
}
- ~Sample ()
- {
- 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;