From: Rico Tzschichholz Date: Tue, 23 Jul 2013 15:30:33 +0000 (+0200) Subject: gio-2.0: Updated from g-i master X-Git-Tag: 0.21.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa28c94fcc5dd34fb89f1d901d559e1c5708fc9e;p=thirdparty%2Fvala.git gio-2.0: Updated from g-i master --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index bae1577c8..0926c355b 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -1568,6 +1568,13 @@ namespace GLib { [CCode (cname = "g_source_set_callback")] public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.PollableSourceFunc func); } + [CCode (cheader_filename = "gio/gio.h", type_id = "g_property_action_get_type ()")] + public class PropertyAction : GLib.Object, GLib.Action { + [CCode (has_construct_function = false)] + public PropertyAction (string name, void* object, string property_name); + public GLib.Object object { construct; } + public string property_name { construct; } + } [CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_get_type ()")] public class ProxyAddress : GLib.InetSocketAddress, GLib.SocketConnectable { [CCode (has_construct_function = false, type = "GSocketAddress*")] @@ -2301,7 +2308,9 @@ namespace GLib { public abstract GLib.Variant get_state (); public abstract GLib.Variant get_state_hint (); public abstract unowned GLib.VariantType get_state_type (); + public static bool name_is_valid (string action_name); public static bool parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error; + public static string print_detailed_name (string action_name, GLib.Variant parameter); public abstract bool enabled { get; } public abstract string name { get; } public abstract GLib.VariantType parameter_type { get; } @@ -3768,7 +3777,11 @@ namespace GLib { [Deprecated (replacement = "IOExtensionPoint.VOLUME_MONITOR", since = "vala-0.16")] public const string VOLUME_MONITOR_EXTENSION_POINT_NAME; [CCode (cheader_filename = "gio/gio.h")] + public static bool action_name_is_valid (string action_name); + [CCode (cheader_filename = "gio/gio.h")] public static bool action_parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error; + [CCode (cheader_filename = "gio/gio.h")] + public static string action_print_detailed_name (string action_name, GLib.Variant parameter); [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_can_be_executable")] [Deprecated (replacement = "GLib.ContentType.can_be_executable", since = "vala-0.12")] public static bool g_content_type_can_be_executable (string type); diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 27d5c3c7a..3ebb8b226 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -154,6 +154,10 @@ OutputStream .write_finish throws="GLib.IOError" .write_fn skip .write_all throws="GLib.IOError" +PropertyAction + .name skip + .parameter_type skip + .state_type skip Resolver .lookup_service_async skip .lookup_service#virtual_method skip=false name="lookup_service_fn" type="GLib.List" @@ -358,25 +362,14 @@ ActionGroup .get_action* nullable .get_action_enabled nullable=false .get_action_state_type unowned -ActionMap - .add_action_entries.entries type="GLib.ActionEntry[]" array_length_idx=1 -AppInfo - .launch.files nullable - .launch_uris.uris nullable AsyncReadyCallback.source_object nullable DBusMessage .get_body unowned -DBusSubtreeDispatchFunc nullable unowned DBusSubtreeVTable.enumerate skip=false FileAttributeInfoList .infos array array_length_field="n_infos" unowned=false -InputStream - .read*.buffer type="uint8[]" array_length_idx=1 LoadableIcon .load_finish.type out nullable unowned=false default=null -Socket - .receive.buffer type="uint8[]" array_length_idx=1 - .receive_with_blocking.buffer type="uint8[]" array_length_idx=1 StaticResource .data array array_length_field="data_len" .padding skip