[vala/staging: 4/4] vapi: Update GIR-based bindings



commit caccf09210ad1c8bc13b5cd4a9c2404758e669af
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat May 13 17:30:50 2017 +0200

    vapi: Update GIR-based bindings

 vapi/clutter-gst-3.0.vapi |    2 ++
 vapi/gstreamer-1.0.vapi   |   16 ++++++++++++++++
 vapi/gtk+-4.0.vapi        |    8 --------
 3 files changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi
index 2b5ae2e..999f260 100644
--- a/vapi/clutter-gst-3.0.vapi
+++ b/vapi/clutter-gst-3.0.vapi
@@ -309,6 +309,8 @@ namespace ClutterGst {
                NONE,
                ACCURATE
        }
+       [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_VERSION")]
+       public const double VERSION;
        [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
        [Version (since = "3.0")]
        public static Gst.Element create_video_sink ();
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 0d7db64..c537df1 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -649,6 +649,8 @@ namespace Gst {
                public unowned Gst.ParentBufferMeta? add_parent_buffer_meta (Gst.Buffer @ref);
                [Version (since = "1.6")]
                public unowned Gst.ProtectionMeta? add_protection_meta (owned Gst.Structure info);
+               [Version (since = "1.14")]
+               public unowned Gst.ReferenceTimestampMeta? add_reference_timestamp_meta (Gst.Caps reference, 
Gst.ClockTime timestamp, Gst.ClockTime duration);
                [CCode (has_construct_function = false)]
                public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params);
                public Gst.Buffer append (owned Gst.Buffer buf2);
@@ -673,6 +675,8 @@ namespace Gst {
                public Gst.Memory get_memory (uint idx);
                public Gst.Memory get_memory_range (uint idx, int length);
                public unowned Gst.Meta? get_meta (GLib.Type api);
+               [Version (since = "1.14")]
+               public unowned Gst.ReferenceTimestampMeta? get_reference_timestamp_meta (Gst.Caps? reference);
                public size_t get_size ();
                public size_t get_sizes (out size_t offset, out size_t maxsize);
                public size_t get_sizes_range (uint idx, int length, out size_t offset, out size_t maxsize);
@@ -777,6 +781,8 @@ namespace Gst {
                public GLib.Source create_watch ();
                public void disable_sync_message_emission ();
                public void enable_sync_message_emission ();
+               [Version (since = "1.14")]
+               public void get_pollfd (GLib.PollFD fd);
                public bool have_pending ();
                public Gst.Message? peek ();
                public Gst.Message? poll (Gst.MessageType events, Gst.ClockTime timeout);
@@ -2809,6 +2815,16 @@ namespace Gst {
                public static unowned Gst.MetaInfo? get_info ();
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
+       [Version (since = "1.14")]
+       public struct ReferenceTimestampMeta {
+               public Gst.Meta parent;
+               public weak Gst.Caps reference;
+               public Gst.ClockTime timestamp;
+               public Gst.ClockTime duration;
+               public static GLib.Type api_get_type ();
+               public static unowned Gst.MetaInfo? get_info ();
+       }
+       [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
        public struct StaticCaps {
                public weak Gst.Caps caps;
                public weak global::string string;
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 6c3489f..eb06ece 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -14418,15 +14418,7 @@ namespace Gtk {
                public unowned Gdk.Window get_parent_window ();
                public unowned Gtk.WidgetPath get_path ();
                [Version (since = "3.0")]
-               public void get_preferred_height (out int minimum_height, out int natural_height);
-               [Version (since = "3.0")]
-               public void get_preferred_height_for_width (int width, out int minimum_height, out int 
natural_height);
-               [Version (since = "3.0")]
                public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition 
natural_size);
-               [Version (since = "3.0")]
-               public void get_preferred_width (out int minimum_width, out int natural_width);
-               [Version (since = "3.0")]
-               public void get_preferred_width_for_height (int height, out int minimum_width, out int 
natural_width);
                [Version (since = "3.90")]
                public unowned Gtk.Widget? get_prev_sibling ();
                [Version (since = "2.20")]


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