[vala] vapi: Update GIR-based bindings



commit 72bb226f2c08b38226a74f63d08ab303278333f4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue May 23 16:45:37 2017 +0200

    vapi: Update GIR-based bindings

 vapi/atk.vapi                          |    1 +
 vapi/atspi-2.vapi                      |    4 ++++
 vapi/gstreamer-1.0.vapi                |    6 +++---
 vapi/gtk+-4.0.vapi                     |    1 -
 vapi/webkit2gtk-4.0.vapi               |    7 +++++++
 vapi/webkit2gtk-web-extension-4.0.vapi |    7 +++++++
 6 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 8beebf5..b766d3e 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -795,6 +795,7 @@ namespace Atk {
                MATH_ROOT,
                SUBSCRIPT,
                SUPERSCRIPT,
+               FOOTNOTE,
                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 48d250a..463c266 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -693,6 +693,10 @@ namespace Atspi {
                MATH_ROOT,
                SUBSCRIPT,
                SUPERSCRIPT,
+               DESCRIPTION_LIST,
+               DESCRIPTION_TERM,
+               DESCRIPTION_VALUE,
+               FOOTNOTE,
                LAST_DEFINED;
                public static string get_name (Atspi.Role role);
        }
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index cfcfd1e..ae1a102 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1719,12 +1719,11 @@ namespace Gst {
                public void default_error (GLib.Error error, string? debug);
                public Gst.ControlBinding? get_control_binding (string property_name);
                public Gst.ClockTime get_control_rate ();
-               public bool get_g_value_array (string property_name, Gst.ClockTime timestamp, Gst.ClockTime 
interval, uint n_values, GLib.Value values);
+               public bool get_g_value_array (string property_name, Gst.ClockTime timestamp, Gst.ClockTime 
interval, [CCode (array_length_cname = "n_values", array_length_pos = 3.5, array_length_type = "guint")] 
GLib.Value[] values);
                public string? get_name ();
                public Gst.Object? get_parent ();
                public string get_path_string ();
                public GLib.Value? get_value (string property_name, Gst.ClockTime timestamp);
-               public bool get_value_array (string property_name, Gst.ClockTime timestamp, Gst.ClockTime 
interval, uint n_values, void* values);
                public bool has_active_control_bindings ();
                [Version (deprecated = true)]
                public bool has_ancestor (Gst.Object ancestor);
@@ -1901,6 +1900,7 @@ namespace Gst {
        public class ParseContext {
                [CCode (has_construct_function = false)]
                public ParseContext ();
+               public Gst.ParseContext copy ();
                public void free ();
                [CCode (array_length = false, array_null_terminated = true)]
                public string[] get_missing_elements ();
@@ -3967,7 +3967,7 @@ namespace Gst {
        public static bool preset_set_app_dir (string app_dir);
        [CCode (cheader_filename = "gst/gst.h")]
        [Version (since = "1.6")]
-       public static unowned string protection_select_system (string system_identifiers);
+       public static unowned string protection_select_system ([CCode (array_length = false, 
array_null_terminated = true)] string[] system_identifiers);
        [CCode (cheader_filename = "gst/gst.h")]
        public static bool segtrap_is_enabled ();
        [CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index eb06ece..78e5eaf 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -16631,7 +16631,6 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = 
"gtk_text_window_type_get_type ()")]
        public enum TextWindowType {
-               PRIVATE,
                WIDGET,
                TEXT,
                LEFT,
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index 30fb479..9e46cec 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -106,12 +106,19 @@ namespace WebKit {
        [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_context_menu_item_get_type ()")]
        public class ContextMenuItem : GLib.InitiallyUnowned {
                [CCode (has_construct_function = false)]
+               [Version (deprecated = true, deprecated_since = "2.18")]
                public ContextMenuItem (Gtk.Action action);
                [CCode (has_construct_function = false)]
+               [Version (since = "2.18")]
+               public ContextMenuItem.from_gaction (GLib.Action action, string label, GLib.Variant? target);
+               [CCode (has_construct_function = false)]
                public ContextMenuItem.from_stock_action (WebKit.ContextMenuAction action);
                [CCode (has_construct_function = false)]
                public ContextMenuItem.from_stock_action_with_label (WebKit.ContextMenuAction action, string 
label);
+               [Version (deprecated = true, deprecated_since = "2.18")]
                public unowned Gtk.Action get_action ();
+               [Version (since = "2.18")]
+               public unowned GLib.Action get_gaction ();
                public WebKit.ContextMenuAction get_stock_action ();
                public unowned WebKit.ContextMenu get_submenu ();
                public bool is_separator ();
diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi
index 3477657..5a9d2f6 100644
--- a/vapi/webkit2gtk-web-extension-4.0.vapi
+++ b/vapi/webkit2gtk-web-extension-4.0.vapi
@@ -2889,12 +2889,19 @@ namespace WebKit {
        [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = 
"webkit_context_menu_item_get_type ()")]
        public class ContextMenuItem : GLib.InitiallyUnowned {
                [CCode (has_construct_function = false)]
+               [Version (deprecated = true, deprecated_since = "2.18")]
                public ContextMenuItem (Gtk.Action action);
                [CCode (has_construct_function = false)]
+               [Version (since = "2.18")]
+               public ContextMenuItem.from_gaction (GLib.Action action, string label, GLib.Variant? target);
+               [CCode (has_construct_function = false)]
                public ContextMenuItem.from_stock_action (WebKit.ContextMenuAction action);
                [CCode (has_construct_function = false)]
                public ContextMenuItem.from_stock_action_with_label (WebKit.ContextMenuAction action, string 
label);
+               [Version (deprecated = true, deprecated_since = "2.18")]
                public unowned Gtk.Action get_action ();
+               [Version (since = "2.18")]
+               public unowned GLib.Action get_gaction ();
                public WebKit.ContextMenuAction get_stock_action ();
                public unowned WebKit.ContextMenu get_submenu ();
                public bool is_separator ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]