]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 23 May 2017 14:45:37 +0000 (16:45 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 23 May 2017 14:45:37 +0000 (16:45 +0200)
vapi/atk.vapi
vapi/atspi-2.vapi
vapi/gstreamer-1.0.vapi
vapi/gtk+-4.0.vapi
vapi/webkit2gtk-4.0.vapi
vapi/webkit2gtk-web-extension-4.0.vapi

index 8beebf578b303794cca8fd664906edf1cafe5b48..b766d3e2583877725df85a15d21ad14102e976d0 100644 (file)
@@ -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);
index 48d250ae1f5a7f2d6db662e3cc3c632db75b8e76..463c2664cecb496cb2208bc82eeecd9a0be49795 100644 (file)
@@ -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);
        }
index cfcfd1e67a240eaade47f31e9e74f7ff060dd560..ae1a10252bb8967576088a919d0f9f27f0bdab38 100644 (file)
@@ -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")]
index eb06ecececdb560b747459888fc8b38bf2be2ce6..78e5eaf908d4b7bcd5256ac16ac38622ecb7b0b4 100644 (file)
@@ -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,
index 30fb4793d194b8acf362af5ac8a3fcf22af2c71d..9e46cec08d0cba787fe74b0b02342882313451db 100644 (file)
@@ -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 ();
index 3477657ca5c080ca1192a607faf1dc1b7bb3eeca..5a9d2f6eabab9a492cb11b2c9244366ecbf5a719 100644 (file)
@@ -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 ();