From: Rico Tzschichholz Date: Sat, 13 May 2017 15:30:50 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.37.1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10%2Fhead;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi index 2b5ae2e5b..999f260c0 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 0d7db6470..c537df1f9 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 6c3489fe9..eb06ecece 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")]