]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 9 Jul 2019 09:09:37 +0000 (11:09 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 9 Jul 2019 11:13:11 +0000 (13:13 +0200)
vapi/atk.vapi
vapi/atspi-2.vapi
vapi/gdk-3.0.vapi
vapi/gobject-introspection-1.0.vapi
vapi/graphene-gobject-1.0.vapi
vapi/gtk+-3.0.vapi
vapi/libsoup-2.4.vapi
vapi/packagekit-glib2.vapi

index 3015894198e2bd36f0f7114997801f7237bfc9d4..4d4436438a497c484f55a238cd9cecb7c8e43686 100644 (file)
@@ -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);
index 06a7f779470ebad49257aa3dbf2da4220aa1e856..e300896f5624ccbe68122fe96974c2aebe3bc1d0 100644 (file)
@@ -701,6 +701,8 @@ namespace Atspi {
                DESCRIPTION_TERM,
                DESCRIPTION_VALUE,
                FOOTNOTE,
+               CONTENT_DELETION,
+               CONTENT_INSERTION,
                LAST_DEFINED;
                public string get_name ();
        }
index 7d30e3aeeabb924e28d9f725a1c2a8803b846c31..6b4491d4b4e5414c7f4f1088a17f824a02447124 100644 (file)
@@ -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")]
index 2c65065dca34562527d5f0323b4c2dc493fceaf7..10a0bb60f7c8217703ec9afb001bf409b4c0e1aa 100644 (file)
@@ -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<string> get_search_path ();
index e90ecf2a5e58e9b73ce100f738973d02ba4af598..c8224379fad9954ca1a30a74f71f4619b184b88c 100644 (file)
@@ -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);
index f149bb6dc4c32ebd1991d2e257b2e06cdd845020..2b2263caab47153771a86df075ed61afa96a36b2 100644 (file)
@@ -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);
index a3fefef2fa58e0091f41277e5bb67506217289af..410d48e9a1014ceb8d847dda5093cdfd34b5cbb7 100644 (file)
@@ -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);
index 3396478857997552aee7f60447f033574570c78e..2f34cda476129b0b6074c2e941cf65a2121abad8 100644 (file)
@@ -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;
        }