[vala/0.36] gstreamer-1.0: Fix TypeFind and TypeFindFactory method references



commit d9804715d21e6e16d28b001ebeb4f6c9768ac90e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Mar 28 00:02:59 2019 +0100

    gstreamer-1.0: Fix TypeFind and TypeFindFactory method references

 vapi/gstreamer-1.0.vapi        | 4 ++--
 vapi/metadata/Gst-1.0.metadata | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 4cb4e37de..c947e8557 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2468,7 +2468,7 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                protected TracerRecord ();
        }
-       [CCode (cheader_filename = "gst/gst.h", type_id = "gst_type_find_factory_get_type ()")]
+       [CCode (cheader_filename = "gst/gst.h", lower_case_csuffix = "type_find_factory", type_id = 
"gst_type_find_factory_get_type ()")]
        public class TypeFindFactory : Gst.PluginFeature {
                [CCode (has_construct_function = false)]
                protected TypeFindFactory ();
@@ -2823,7 +2823,7 @@ namespace Gst {
                public Gst.ClockTime timestamp;
                public double value;
        }
-       [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
+       [CCode (cheader_filename = "gst/gst.h", has_type_id = false, lower_case_csuffix = "type_find")]
        public struct TypeFind {
                public void* data;
                public static GLib.Type get_type ();
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index dbafd3687..1db771959 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -237,6 +237,7 @@ ControlSource
   .get_value_array#field name="get_value_array_func"
   .control_source_get_value name="get_value"
   .control_source_get_value_array name="get_value_array"
+TypeFind lower_case_csuffix="type_find"
 
 // Backwards compatibility
 Structure.new_from_string skip


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