[vala/0.52] WIP vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.52] WIP vapi: Update GIR-based bindings
- Date: Tue, 18 May 2021 08:06:19 +0000 (UTC)
commit 07ccca77bf889289db4303c46ef5b7f82fd349e5
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue May 4 14:46:10 2021 +0200
WIP vapi: Update GIR-based bindings
vapi/atk.vapi | 1 +
vapi/gstreamer-rtp-1.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 6 +++---
vapi/gtk4.vapi | 8 +++++---
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 99574a9c2..c0e810c9d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]