]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 4 May 2021 12:46:10 +0000 (14:46 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 4 May 2021 12:46:10 +0000 (14:46 +0200)
vapi/atk.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gtk+-3.0.vapi
vapi/gtk4.vapi

index 81850f8eabfbd0a98d74487cab999ed4656666ce..857eb797c70a79141cd8202bdbdc22821d663b58 100644 (file)
@@ -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);
index d595720cea14379d3caa95bffd41f81468860c04..7582a5077b608a4ea9d34abf2d8f0ad37b307c92 100644 (file)
@@ -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")]
index d963e7f20f708bf0fd35245d04cd19b9c433f715..145a7267c4870b5b8e77fd385fd4085b1555bb79 100644 (file)
@@ -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; }
index e0d91f7313a28bc19693bf1f87f4a19eed65528d..ebf6d988a4a972dda16cd4b2aa358a33a3ba2326 100644 (file)
@@ -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);