From 3b47f2c54e13b751af26e17a50f4f456d10ca083 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Mon, 15 Mar 2010 21:03:24 +0100 Subject: [PATCH] gstreamer-0.10: Fix Gst.Buffer subclassing --- vapi/gstreamer-0.10.vapi | 1 + vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala | 1 + 2 files changed, 2 insertions(+) diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 21e64362a..67c83d315 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -73,6 +73,7 @@ namespace Gst { public uint64 offset_end; public weak Gst.Buffer parent; public Gst.ClockTime timestamp; + [CCode (has_construct_function = false)] public Buffer (); [CCode (has_construct_function = false)] public Buffer.and_alloc (uint size); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala index f213aba4f..258f0521e 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala @@ -50,6 +50,7 @@ namespace Gst { [CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref")] public class Buffer : Gst.MiniObject { + [CCode (has_construct_function = false)] public Buffer (); public weak Buffer @ref (); public void unref (); -- 2.47.3