diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-08-05 15:37:27 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-08-05 15:37:27 +0200 |
commit | ae1562d367056453b288923157b5ac36814c3c01 (patch) | |
tree | b71dd9ffcb74be0968274efa3136692cd3f4df4d /sources/generated/Gst/AtomicQueue.cs | |
parent | 239320e19042a7633ea3f716bd061f6891f77a9d (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/AtomicQueue.cs')
-rw-r--r-- | sources/generated/Gst/AtomicQueue.cs | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/sources/generated/Gst/AtomicQueue.cs b/sources/generated/Gst/AtomicQueue.cs index 1ca7f76..67c8fec 100644 --- a/sources/generated/Gst/AtomicQueue.cs +++ b/sources/generated/Gst/AtomicQueue.cs @@ -88,29 +88,12 @@ namespace Gst { } } - class FinalizerInfo { - IntPtr handle; - - public FinalizerInfo (IntPtr handle) - { - this.handle = handle; - } - - public bool Handler () - { - gst_atomic_queue_unref (handle); - return false; + protected override Action<IntPtr> DisposeUnmanagedFunc { + get { + return gst_atomic_queue_unref; } } - ~AtomicQueue () - { - 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; |