From: Rico Tzschichholz Date: Tue, 9 Jul 2019 09:09:37 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.45.3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b08da00df22c76355559c7760fde37686321cb07;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/atk.vapi b/vapi/atk.vapi index 301589419..4d4436438 100644 --- a/vapi/atk.vapi +++ b/vapi/atk.vapi @@ -68,7 +68,7 @@ namespace Atk { [CCode (has_construct_function = false)] protected Object (); public bool add_relationship (Atk.RelationType relationship, Atk.Object target); - [Version (deprecated = true)] + [Version (deprecated = true, deprecated_since = "2.12")] public virtual uint connect_property_change_handler (Atk.PropertyChangeHandler handler); [Version (since = "2.34")] public unowned string get_accessible_id (); @@ -94,7 +94,7 @@ namespace Atk { public Atk.Object ref_accessible_child (int i); public virtual Atk.RelationSet ref_relation_set (); public virtual Atk.StateSet ref_state_set (); - [Version (deprecated = true)] + [Version (deprecated = true, deprecated_since = "2.12")] public virtual void remove_property_change_handler (uint handler_id); public bool remove_relationship (Atk.RelationType relationship, Atk.Object target); [Version (since = "2.34")] @@ -158,6 +158,7 @@ namespace Atk { [CCode (cheader_filename = "atk/atk.h", type_id = "atk_plug_get_type ()")] public class Plug : Atk.Object, Atk.Component { [CCode (has_construct_function = false, type = "AtkObject*")] + [Version (since = "1.30")] public Plug (); [Version (since = "1.30")] public string get_id (); @@ -789,6 +790,8 @@ namespace Atk { SUBSCRIPT, SUPERSCRIPT, FOOTNOTE, + CONTENT_DELETION, + CONTENT_INSERTION, LAST_DEFINED; [CCode (cheader_filename = "atk/atk.h")] public static Atk.Role for_name (string name); diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi index 06a7f7794..e300896f5 100644 --- a/vapi/atspi-2.vapi +++ b/vapi/atspi-2.vapi @@ -701,6 +701,8 @@ namespace Atspi { DESCRIPTION_TERM, DESCRIPTION_VALUE, FOOTNOTE, + CONTENT_DELETION, + CONTENT_INSERTION, LAST_DEFINED; public string get_name (); } diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 7d30e3aee..6b4491d4b 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -6806,7 +6806,7 @@ namespace Gdk { public static unowned Cairo.Surface? offscreen_window_get_surface (Gdk.Window window); [CCode (cheader_filename = "gdk/gdk.h")] [Version (since = "2.18")] - public static void offscreen_window_set_embedder (Gdk.Window window, Gdk.Window? embedder); + public static void offscreen_window_set_embedder (Gdk.Window window, Gdk.Window embedder); [CCode (cheader_filename = "gdk/gdk.h")] public static Pango.Context pango_context_get (); [CCode (cheader_filename = "gdk/gdk.h")] diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi index 2c65065dc..10a0bb60f 100644 --- a/vapi/gobject-introspection-1.0.vapi +++ b/vapi/gobject-introspection-1.0.vapi @@ -192,7 +192,7 @@ namespace GI { [CCode (array_length = false, array_null_terminated = true)] public string[] get_loaded_namespaces (); public int get_n_infos (string namespace_); - [Version (since = "1.60")] + [Version (since = "1.62")] public void get_object_gtype_interfaces (GLib.Type gtype, [CCode (array_length_cname = "n_interfaces_out", array_length_pos = 1.5, array_length_type = "guint")] out unowned GI.InterfaceInfo[] interfaces_out); public static GLib.OptionGroup get_option_group (); public static unowned GLib.SList get_search_path (); diff --git a/vapi/graphene-gobject-1.0.vapi b/vapi/graphene-gobject-1.0.vapi index e90ecf2a5..c8224379f 100644 --- a/vapi/graphene-gobject-1.0.vapi +++ b/vapi/graphene-gobject-1.0.vapi @@ -52,6 +52,8 @@ namespace Graphene { public unowned Graphene.Euler? init_from_euler (Graphene.Euler? src); public unowned Graphene.Euler? init_from_matrix (Graphene.Matrix? m, Graphene.EulerOrder order); public unowned Graphene.Euler? init_from_quaternion (Graphene.Quaternion? q, Graphene.EulerOrder order); + [Version (since = "1.10")] + public unowned Graphene.Euler? init_from_radians (float x, float y, float z, Graphene.EulerOrder order); public unowned Graphene.Euler? init_from_vec3 (Graphene.Vec3? v, Graphene.EulerOrder order); public unowned Graphene.Euler? init_with_order (float x, float y, float z, Graphene.EulerOrder order); public Graphene.Euler reorder (Graphene.EulerOrder order); diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index f149bb6dc..2b2263caa 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -5348,7 +5348,7 @@ namespace Gtk { [Version (since = "3.18")] public bool get_overlay_pass_through (Gtk.Widget widget); [Version (since = "3.18")] - public void reorder_overlay (Gtk.Widget child, int position); + public void reorder_overlay (Gtk.Widget child, int index_); [Version (since = "3.18")] public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through); public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation); diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index a3fefef2f..410d48e9a 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -1172,7 +1172,9 @@ namespace Soup { public unowned string? get_protocol (); public Soup.WebsocketState get_state (); public unowned Soup.URI get_uri (); - public void send_binary ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data); + public void send_binary ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] uint8[]? data); + [Version (since = "2.68")] + public void send_message (Soup.WebsocketDataType type, GLib.Bytes message); public void send_text (string text); [Version (since = "2.58")] public void set_keepalive_interval (uint interval); diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi index 339647885..2f34cda47 100644 --- a/vapi/packagekit-glib2.vapi +++ b/vapi/packagekit-glib2.vapi @@ -56,6 +56,7 @@ namespace Pk { public async Pk.Results adopt_async (string transaction_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error; [NoWrapper] public virtual void changed (); + public static bool create_helper_argv_envp (string argv, string envp_out); [Version (since = "0.5.3")] public Pk.Results depends_on (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error; [CCode (finish_name = "pk_client_generic_finish")] @@ -248,8 +249,12 @@ namespace Pk { [CCode (has_construct_function = false)] [Version (since = "0.6.10")] public ClientHelper (); + [Version (since = "1.1.13")] + public bool is_active (); [Version (since = "0.6.10")] public bool start (string socket_filename, string argv, string envp) throws GLib.Error; + [Version (since = "1.1.13")] + public bool start_with_socket (GLib.Socket socket, string argv, string envp) throws GLib.Error; [Version (since = "0.6.10")] public bool stop () throws GLib.Error; }