summaryrefslogtreecommitdiff
path: root/vapi/gtk4.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/gtk4.vapi
parent318df95914d5db6a25916972180ab4faee992d19 (diff)
downloadvala-793e86c026c0139a89597b17a3fdf993beb39d3b.tar.gz
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/gtk4.vapi')
-rw-r--r--vapi/gtk4.vapi8
1 files changed, 5 insertions, 3 deletions
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);