]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Mar 2020 08:54:13 +0000 (09:54 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Mar 2020 08:54:13 +0000 (09:54 +0100)
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/gtk+-3.0.vapi
vapi/libgeoclue-2.0.vapi
vapi/libsoup-2.4.vapi

index 8553645fa4e91da114764e51eecc3c5b29e13091..b178235997f484d5f2aeff0b783d49f215f1f890 100644 (file)
@@ -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 ();
index 08bd5255aded3cdae942256f619d60404f30de0c..ca79fc65d5e757e24c398915f1965237002bd9c3 100644 (file)
@@ -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")]
index 48f7dc6ed2f94d17da4833ca7ecc5839dbbd5076..38e95f19e8dc95200c6c74b99caf1558e6bbc595 100644 (file)
@@ -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 {
index 7be72bec9c422600f9fa66216224af07d0aabb03..904602601897b1315eab2a009d33bcd12fa56680 100644 (file)
@@ -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)]