diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-03-01 09:54:13 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-03-01 09:54:13 +0100 |
commit | 2e4f82333078a5b099ee7acafb83fcbee2b1d18e (patch) | |
tree | 5d9cdbdc498cf5c2bb33f81695922a539cd540b8 | |
parent | 1633ef94e0390c6c6897fabc4e00026f9fee18f9 (diff) | |
download | vala-2e4f82333078a5b099ee7acafb83fcbee2b1d18e.tar.gz |
vapi: Update GIR-based bindings
-rw-r--r-- | vapi/gstreamer-rtsp-server-1.0.vapi | 2 | ||||
-rw-r--r-- | vapi/gtk+-3.0.vapi | 6 | ||||
-rw-r--r-- | vapi/libgeoclue-2.0.vapi | 7 | ||||
-rw-r--r-- | vapi/libsoup-2.4.vapi | 1 |
4 files changed, 12 insertions, 4 deletions
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi index 8553645fa..b17823599 100644 --- a/vapi/gstreamer-rtsp-server-1.0.vapi +++ b/vapi/gstreamer-rtsp-server-1.0.vapi @@ -280,7 +280,7 @@ namespace Gst { public virtual bool setup_rtpbin (Gst.Element rtpbin); public virtual bool setup_sdp (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info); public virtual bool suspend (); - public void take_pipeline (owned Gst.Pipeline pipeline); + public void take_pipeline (Gst.Pipeline pipeline); [Version (since = "1.18")] public void @unlock (); public virtual bool unprepare (); diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 08bd5255a..ca79fc65d 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -2454,11 +2454,11 @@ namespace Gtk { public unowned Gtk.Widget add_button (string button_text, int response_id); public void add_buttons (...); [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")] - public unowned Gtk.Widget get_action_area (); + public unowned Gtk.Box get_action_area (); [Version (since = "2.14")] public unowned Gtk.Box get_content_area (); [Version (since = "3.12")] - public unowned Gtk.Widget get_header_bar (); + public unowned Gtk.HeaderBar get_header_bar (); [Version (since = "2.8")] public int get_response_for_widget (Gtk.Widget widget); [Version (since = "2.20")] @@ -4316,7 +4316,7 @@ namespace Gtk { [Version (since = "2.18")] public void add_buttons (...); [Version (since = "2.18")] - public unowned Gtk.Widget get_action_area (); + public unowned Gtk.Box get_action_area (); [Version (since = "2.18")] public unowned Gtk.Container get_content_area (); [Version (since = "2.18")] diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi index 48f7dc6ed..38e95f19e 100644 --- a/vapi/libgeoclue-2.0.vapi +++ b/vapi/libgeoclue-2.0.vapi @@ -60,14 +60,21 @@ namespace GClue { public async Simple (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable) throws GLib.Error; public unowned GClue.ClientProxy get_client (); public unowned GClue.Location get_location (); + public static async void new_with_thresholds (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable); [CCode (has_construct_function = false)] public Simple.sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable = null) throws GLib.Error; + [CCode (has_construct_function = false)] + public Simple.with_thresholds_sync (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable = null) throws GLib.Error; [NoAccessorMethod] public GClue.AccuracyLevel accuracy_level { construct; } public GClue.ClientProxy client { get; } [NoAccessorMethod] public string desktop_id { construct; } + [NoAccessorMethod] + public uint distance_threshold { get; construct; } public GClue.LocationProxy location { get; } + [NoAccessorMethod] + public uint time_threshold { get; construct; } } [CCode (cheader_filename = "geoclue.h", type_id = "gclue_client_get_type ()")] public interface Client : GLib.Object { diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index 7be72bec9..904602601 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -1012,6 +1012,7 @@ namespace Soup { [Version (since = "2.42")] public GLib.ProxyResolver proxy_resolver { owned get; set; } [NoAccessorMethod] + [Version (deprecated = true, deprecated_since = "2.70")] public Soup.URI proxy_uri { owned get; set; } [NoAccessorMethod] [Version (deprecated = true)] |