summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Message.cs
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2021-08-05 15:37:27 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2021-08-05 15:37:27 +0200
commitae1562d367056453b288923157b5ac36814c3c01 (patch)
treeb71dd9ffcb74be0968274efa3136692cd3f4df4d /sources/generated/Gst/Message.cs
parent239320e19042a7633ea3f716bd061f6891f77a9d (diff)
Update bindings with latests GtkSharp
Update GtkSharp to 4c85f1479cf2e0dc056c0d288785e5a1d7251cb1 and regenerate bindings Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/34>
Diffstat (limited to 'sources/generated/Gst/Message.cs')
-rw-r--r--sources/generated/Gst/Message.cs23
1 files changed, 3 insertions, 20 deletions
diff --git a/sources/generated/Gst/Message.cs b/sources/generated/Gst/Message.cs
index b526ea2..f338b24 100644
--- a/sources/generated/Gst/Message.cs
+++ b/sources/generated/Gst/Message.cs
@@ -1024,29 +1024,12 @@ namespace Gst {
}
}
- class FinalizerInfo {
- IntPtr handle;
-
- public FinalizerInfo (IntPtr handle)
- {
- this.handle = handle;
- }
-
- public bool Handler ()
- {
- gst_message_unref (handle);
- return false;
+ protected override Action<IntPtr> DisposeUnmanagedFunc {
+ get {
+ return gst_message_unref;
}
}
- ~Message ()
- {
- 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;