summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-01-14 14:37:12 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-01-14 14:37:26 +0100
commit8f7dacbaec9ac3345c0038d27aec56133a98b5a8 (patch)
treeb131132a0b7d2ae358c07a20a74dbf40a445fb75
parenta9f620a67e613fc57104a543b8160b823a3661b8 (diff)
downloadvala-8f7dacbaec9ac3345c0038d27aec56133a98b5a8.tar.gz
vapi: Update GIR-based bindings
-rw-r--r--vapi/gobject-introspection-1.0.vapi3
-rw-r--r--vapi/gstreamer-pbutils-1.0.vapi2
-rw-r--r--vapi/libgeoclue-2.0.vapi3
-rw-r--r--vapi/libsoup-3.0.vapi2
-rw-r--r--vapi/metadata/Geoclue-2.0.metadata2
-rw-r--r--vapi/pango.vapi2
6 files changed, 10 insertions, 4 deletions
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index b0fbcf4a3..88a70496b 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -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 {
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index de623fb11..363a808ff 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -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")]
diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi
index e6ebba290..eb66f9729 100644
--- a/vapi/libgeoclue-2.0.vapi
+++ b/vapi/libgeoclue-2.0.vapi
@@ -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]
diff --git a/vapi/libsoup-3.0.vapi b/vapi/libsoup-3.0.vapi
index e71e95398..29127e20f 100644
--- a/vapi/libsoup-3.0.vapi
+++ b/vapi/libsoup-3.0.vapi
@@ -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
index 000000000..bbb932bcd
--- /dev/null
+++ b/vapi/metadata/Geoclue-2.0.metadata
@@ -0,0 +1,2 @@
+Simple
+ .new_with_thresholds finish_name="gclue_simple_new_finish"
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index ba24cf005..a29ff268e 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -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 ()")]