]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 14 Jan 2022 13:37:12 +0000 (14:37 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 14 Jan 2022 13:37:26 +0000 (14:37 +0100)
vapi/gobject-introspection-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/libgeoclue-2.0.vapi
vapi/libsoup-3.0.vapi
vapi/metadata/Geoclue-2.0.metadata [new file with mode: 0644]
vapi/pango.vapi

index b0fbcf4a3c8c23f8b6e66c7de008e9f86344261e..88a70496b3bdc7ea8f6968346a11108b52b85a94 100644 (file)
@@ -382,7 +382,8 @@ namespace GI {
                INVALID,
                CALL,
                ASYNC,
-               NOTIFIED
+               NOTIFIED,
+               FOREVER
        }
        [CCode (cheader_filename = "girepository.h", cprefix = "GI_TRANSFER_", has_type_id = false)]
        public enum Transfer {
index de623fb1173d4b6c975629dc6d5fc1ab343587a6..363a808ffac17bef882ff460e427c3ff41ae72fc 100644 (file)
@@ -33,7 +33,7 @@ namespace Gst {
                                public static unowned string get_profile ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] sps);
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h264_get_profile_flags_level")]
                                [Version (since = "1.20")]
-                               public static bool get_profile_flags_level ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint", type = "const guint8*")] uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 level);
+                               public static bool get_profile_flags_level ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint")] uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 level);
                        }
                        namespace MPEG4Video {
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_mpeg4video_caps_set_level_and_profile")]
index e6ebba2906e56d996eb51a90705e3fd17787f437..eb66f9729f4fb5e4ab7ca42037ad96ec3ba59c83 100644 (file)
@@ -60,9 +60,10 @@ 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 (cname = "gclue_simple_new_with_thresholds", finish_name = "gclue_simple_new_finish", has_construct_function = false)]
+               public async Simple.with_thresholds (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable) 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]
index e71e9539879ec458fcae2f402b1dd326aa36b8f7..29127e20fadab1381d3d6ce6eb392cade9ddc4dc 100644 (file)
@@ -280,7 +280,7 @@ namespace Soup {
                public void set_response_filter (owned Soup.LoggerFilter response_filter);
                [NoAccessorMethod]
                public Soup.LoggerLogLevel level { get; set; }
-               public int max_body_size { get; set; }
+               public int max_body_size { get; set construct; }
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_message_get_type ()")]
        public sealed class Message : GLib.Object {
diff --git a/vapi/metadata/Geoclue-2.0.metadata b/vapi/metadata/Geoclue-2.0.metadata
new file mode 100644 (file)
index 0000000..bbb932b
--- /dev/null
@@ -0,0 +1,2 @@
+Simple
+       .new_with_thresholds finish_name="gclue_simple_new_finish"
index ba24cf0056f74be0fa73247636fb48aa56adb31c..a29ff268e618aa44149a992afbd768a287f1833b 100644 (file)
@@ -223,10 +223,12 @@ namespace Pango {
                public Pango.CoverageLevel @get (int index_);
                [Version (deprecated = true, deprecated_since = "1.44")]
                public void max (Pango.Coverage other);
+               [Version (deprecated = true, deprecated_since = "1.52")]
                public unowned Pango.Coverage @ref ();
                public void @set (int index_, Pango.CoverageLevel level);
                [Version (deprecated = true, deprecated_since = "1.44")]
                public void to_bytes ([CCode (array_length_cname = "n_bytes", array_length_pos = 1.1)] out uint8[] bytes);
+               [Version (deprecated = true, deprecated_since = "1.52")]
                public void unref ();
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_font_get_type ()")]