summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-05-04 14:46:10 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-05-04 14:46:10 +0200
commit793e86c026c0139a89597b17a3fdf993beb39d3b (patch)
tree82ac307b157ce071ed9fbd87f7a6a6f8cce84b25 /vapi
parent318df95914d5db6a25916972180ab4faee992d19 (diff)
downloadvala-793e86c026c0139a89597b17a3fdf993beb39d3b.tar.gz
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi')
-rw-r--r--vapi/atk.vapi1
-rw-r--r--vapi/gstreamer-rtp-1.0.vapi2
-rw-r--r--vapi/gtk+-3.0.vapi6
-rw-r--r--vapi/gtk4.vapi8
4 files changed, 10 insertions, 7 deletions
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 81850f8ea..857eb797c 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -863,6 +863,7 @@ namespace Atk {
HAS_POPUP,
HAS_TOOLTIP,
READ_ONLY,
+ COLLAPSED,
LAST_DEFINED;
[CCode (cheader_filename = "atk/atk.h")]
public static Atk.StateType for_name (string name);
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index d595720ce..7582a5077 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -397,7 +397,7 @@ namespace Gst {
public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
[Version (since = "1.20")]
- public static GLib.List<Gst.RTP.HeaderExtension> get_header_extension_list ();
+ public static GLib.List<Gst.ElementFactory> get_header_extension_list ();
[CCode (cheader_filename = "gst/rtp/rtp.h")]
public static bool hdrext_get_ntp_56 ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, out uint64 ntptime);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d963e7f20..145a7267c 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -10637,11 +10637,11 @@ namespace Gtk {
public void set_show_preview_entry (bool show_preview_entry);
public string font { owned get; set; }
public Pango.FontDescription font_desc { owned get; set; }
- [Version (since = "3.22.30")]
+ [Version (since = "3.24.1")]
public string font_features { owned get; }
- [Version (since = "3.22.30")]
+ [Version (since = "3.24.1")]
public string language { owned get; set; }
- [Version (since = "3.22.30")]
+ [Version (since = "3.24.1")]
public Gtk.FontChooserLevel level { get; set; }
public string preview_text { owned get; set; }
public bool show_preview_entry { get; set; }
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index e0d91f731..ebf6d988a 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -4567,6 +4567,8 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Device ();
public unowned string? get_node_path ();
+ [Version (since = "4.4")]
+ public void* get_xkb_keymap ();
}
[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_display_get_type ()")]
[GIR (name = "WaylandDisplay")]
@@ -4834,10 +4836,10 @@ namespace Gdk {
public bool contain_mime_type (string mime_type);
[CCode (has_construct_function = false)]
public ContentFormats.for_gtype (GLib.Type type);
- [CCode (array_length_pos = 0.1, array_length_type = "gsize")]
+ [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
public unowned GLib.Type[]? get_gtypes ();
- [CCode (array_length = false, array_null_terminated = true)]
- public unowned string[]? get_mime_types (out size_t n_mime_types);
+ [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
+ public unowned string[]? get_mime_types ();
public bool match (Gdk.ContentFormats second);
public GLib.Type match_gtype (Gdk.ContentFormats second);
public unowned string? match_mime_type (Gdk.ContentFormats second);