From: Rico Tzschichholz Date: Tue, 23 May 2017 14:45:37 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.37.1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72bb226f2c08b38226a74f63d08ab303278333f4;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/atk.vapi b/vapi/atk.vapi index 8beebf578..b766d3e25 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 48d250ae1..463c2664c 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 cfcfd1e67..ae1a10252 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 eb06ecece..78e5eaf90 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 30fb4793d..9e46cec08 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 3477657ca..5a9d2f6ea 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 ();