[vala/staging: 4/4] gstreamer-1.0: Make Gst.Uri a sealed class




commit 1fdc269019539f998fffdeb53014afde755f5f8a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Oct 30 09:34:37 2021 +0200

    gstreamer-1.0: Make Gst.Uri a sealed class

 vapi/gstreamer-1.0.vapi        | 3 +--
 vapi/metadata/Gst-1.0.metadata | 2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index bb9f5b77e..457aab3a4 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2752,8 +2752,7 @@ namespace Gst {
                public bool has_function ();
        }
        [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_uri_ref", type_id = "gst_uri_get_type 
()", unref_function = "gst_uri_unref")]
-       [Compact]
-       public class Uri {
+       public sealed class Uri {
                [CCode (has_construct_function = false)]
                [Version (since = "1.6")]
                public Uri (string? scheme, string? userinfo, string? host, uint port, string? path, string? 
query, string? fragment);
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index a6f9c93b5..db4d53fdb 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -291,6 +291,8 @@ formats_contains parent="Gst.Format" name="contains"
 // Structs as generic type arguments
 ElementFactory.get_static_pad_templates type_arguments="Gst.StaticPadTemplate?"
 
+Uri compact=false sealed
+
 // Custom
 Buffer
   .copy_into skip


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]