[vala] gio-2.0: Update to 2.31.6
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Update to 2.31.6
- Date: Wed, 21 Dec 2011 15:34:11 +0000 (UTC)
commit efc88b7bf180a592d68921203c4a0c6f322bbac1
Author: JÃrg Billeter <j bitron ch>
Date: Wed Dec 21 16:23:16 2011 +0100
gio-2.0: Update to 2.31.6
vapi/gio-2.0.vapi | 84 +++++++++-
vapi/packages/gio-2.0/gio-2.0.gi | 334 +++++++++++++++++++++++++++++++++++++-
2 files changed, 402 insertions(+), 16 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 4097a10..df9c2b1 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -62,8 +62,11 @@ namespace GLib {
[CCode (has_construct_function = false)]
public AppLaunchContext ();
public virtual string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
+ public unowned string get_environment ();
public virtual string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
public virtual void launch_failed (string startup_notify_id);
+ public void setenv (string variable, string value);
+ public void unsetenv (string variable);
}
[CCode (cheader_filename = "gio/gio.h", cname = "GApplication")]
public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
@@ -76,6 +79,7 @@ namespace GLib {
[NoWrapper]
public virtual void before_emit (GLib.Variant platform_data);
public unowned string get_application_id ();
+ public static unowned GLib.Application get_default ();
public GLib.ApplicationFlags get_flags ();
public uint get_inactivity_timeout ();
public bool get_is_registered ();
@@ -95,14 +99,19 @@ namespace GLib {
public virtual void run_mainloop ();
public void set_action_group (GLib.ActionGroup action_group);
public void set_application_id (string application_id);
+ public void set_default ();
public void set_flags (GLib.ApplicationFlags flags);
public void set_inactivity_timeout (uint inactivity_timeout);
public GLib.ActionGroup action_group { set; }
+ [NoAccessorMethod]
+ public GLib.MenuModel app_menu { owned get; set; }
public string application_id { get; set construct; }
public GLib.ApplicationFlags flags { get; set; }
public uint inactivity_timeout { get; set; }
public bool is_registered { get; }
public bool is_remote { get; }
+ [NoAccessorMethod]
+ public GLib.MenuModel menubar { owned get; set; }
[HasEmitter]
public virtual signal void activate ();
public virtual signal int command_line (GLib.ApplicationCommandLine command_line);
@@ -346,13 +355,16 @@ namespace GLib {
public bool export (GLib.DBusConnection connection, string object_path) throws GLib.Error;
public virtual void flush ();
public unowned GLib.DBusConnection get_connection ();
+ public unowned GLib.List get_connections ();
public GLib.DBusInterfaceSkeletonFlags get_flags ();
public virtual unowned GLib.DBusInterfaceInfo get_info ();
public unowned string get_object_path ();
public virtual unowned GLib.Variant get_properties ();
public virtual unowned GLib.DBusInterfaceVTable get_vtable ();
+ public bool has_connection (GLib.DBusConnection connection);
public void set_flags (GLib.DBusInterfaceSkeletonFlags flags);
public void unexport ();
+ public void unexport_from_connection (GLib.DBusConnection connection);
[NoAccessorMethod]
public GLib.DBusInterfaceSkeletonFlags g_flags { get; set; }
public virtual signal bool g_authorize_method (GLib.DBusMethodInvocation invocation);
@@ -534,9 +546,10 @@ namespace GLib {
[CCode (has_construct_function = false)]
public DBusObjectProxy (GLib.DBusConnection connection, string object_path);
public unowned GLib.DBusConnection get_connection ();
- public GLib.DBusConnection connection { get; construct; }
[NoAccessorMethod]
- public string object_path { owned get; construct; }
+ public GLib.DBusConnection g_connection { owned get; construct; }
+ [NoAccessorMethod]
+ public string g_object_path { owned get; construct; }
}
[CCode (cheader_filename = "gio/gio.h")]
public class DBusObjectSkeleton : GLib.Object, GLib.DBusObject {
@@ -548,7 +561,7 @@ namespace GLib {
public void remove_interface_by_name (string interface_name);
public void set_object_path (string object_path);
[NoAccessorMethod]
- public string object_path { owned get; set construct; }
+ public string g_object_path { owned get; set construct; }
public virtual signal bool authorize_method (GLib.DBusInterfaceSkeleton interface_, GLib.DBusMethodInvocation invocation);
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_property_info_ref", type_id = "g_dbus_property_info_get_type ()", unref_function = "g_dbus_property_info_unref")]
@@ -744,6 +757,8 @@ namespace GLib {
public unowned string enumerate_next ();
public bool matches (string attribute);
public bool matches_only (string attribute);
+ public unowned GLib.FileAttributeMatcher subtract (GLib.FileAttributeMatcher subtract);
+ public unowned string to_string ();
}
[CCode (cheader_filename = "gio/gio.h")]
public class FileEnumerator : GLib.Object {
@@ -992,7 +1007,7 @@ namespace GLib {
public bool set_pending () throws GLib.Error;
public async bool splice_async (GLib.IOStream stream2, GLib.IOStreamSpliceFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoAccessorMethod]
- public bool closed { get; set; }
+ public bool closed { get; }
public abstract GLib.InputStream input_stream { get; }
public abstract GLib.OutputStream output_stream { get; }
}
@@ -1043,6 +1058,24 @@ namespace GLib {
public bool is_site_local { get; }
}
[CCode (cheader_filename = "gio/gio.h")]
+ public class InetAddressMask : GLib.Object, GLib.Initable {
+ [CCode (has_construct_function = false)]
+ public InetAddressMask (GLib.InetAddress addr, uint length) throws GLib.Error;
+ public bool equal (GLib.InetAddressMask mask2);
+ [CCode (has_construct_function = false)]
+ public InetAddressMask.from_string (string mask_string) throws GLib.Error;
+ public unowned GLib.InetAddress get_address ();
+ public GLib.SocketFamily get_family ();
+ public uint get_length ();
+ public bool matches (GLib.InetAddress address);
+ public unowned string to_string ();
+ [NoAccessorMethod]
+ public GLib.InetAddress address { owned get; set; }
+ public GLib.SocketFamily family { get; }
+ [NoAccessorMethod]
+ public uint length { get; set; }
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
public class InetSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
[CCode (has_construct_function = false, type = "GSocketAddress*")]
public InetSocketAddress (GLib.InetAddress address, uint16 port);
@@ -1330,12 +1363,14 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public class Settings : GLib.Object {
[CCode (has_construct_function = false)]
- public Settings (string schema);
+ public Settings (string schema_id);
public void apply ();
public void bind (string key, void* object, string property, GLib.SettingsBindFlags flags);
public void bind_with_mapping (string key, void* object, string property, GLib.SettingsBindFlags flags, GLib.SettingsBindGetMapping get_mapping, GLib.SettingsBindSetMapping set_mapping, GLib.DestroyNotify destroy);
public void bind_writable (string key, void* object, string property, bool inverted);
public void delay ();
+ [CCode (has_construct_function = false)]
+ public Settings.full (GLib.SettingsSchema schema, GLib.SettingsBackend backend, string path);
[CCode (sentinel = "")]
public void @get (string key, string format, ...);
public bool get_boolean (string key);
@@ -1377,11 +1412,11 @@ namespace GLib {
public static void sync ();
public static void unbind (void* object, string property);
[CCode (has_construct_function = false)]
- public Settings.with_backend (string schema, GLib.SettingsBackend backend);
+ public Settings.with_backend (string schema_id, GLib.SettingsBackend backend);
[CCode (has_construct_function = false)]
- public Settings.with_backend_and_path (string schema, GLib.SettingsBackend backend, string path);
+ public Settings.with_backend_and_path (string schema_id, GLib.SettingsBackend backend, string path);
[CCode (has_construct_function = false)]
- public Settings.with_path (string schema, string path);
+ public Settings.with_path (string schema_id, string path);
[NoAccessorMethod]
public GLib.SettingsBackend backend { owned get; construct; }
[NoAccessorMethod]
@@ -1391,6 +1426,10 @@ namespace GLib {
public string path { owned get; construct; }
[NoAccessorMethod]
public string schema { owned get; construct; }
+ [NoAccessorMethod]
+ public string schema_id { owned get; construct; }
+ [NoAccessorMethod]
+ public GLib.SettingsSchema settings_schema { owned get; construct; }
public virtual signal bool change_event (void* keys, int n_keys);
public virtual signal void changed (string key);
public virtual signal bool writable_change_event (uint key);
@@ -1399,6 +1438,20 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public class SettingsBackend : GLib.Object {
}
+ [CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_ref", type_id = "g_settings_schema_get_type ()", unref_function = "g_settings_schema_unref")]
+ [Compact]
+ public class SettingsSchema {
+ public unowned string get_id ();
+ public unowned string get_path ();
+ }
+ [CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_source_ref", type_id = "g_settings_schema_source_get_type ()", unref_function = "g_settings_schema_source_unref")]
+ [Compact]
+ public class SettingsSchemaSource {
+ [CCode (has_construct_function = false)]
+ public SettingsSchemaSource.from_directory (string directory, GLib.SettingsSchemaSource parent, bool trusted) throws GLib.Error;
+ public static unowned GLib.SettingsSchemaSource get_default ();
+ public unowned GLib.SettingsSchema lookup (string schema_id, bool recursive);
+ }
[CCode (cheader_filename = "gio/gio.h")]
public class SimpleAction : GLib.Object, GLib.Action {
[CCode (has_construct_function = false)]
@@ -2004,6 +2057,7 @@ namespace GLib {
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_identifier (string kind);
public abstract unowned string get_name ();
+ public abstract unowned string get_sort_key ();
public abstract GLib.DriveStartStopType get_start_stop_type ();
public abstract GLib.List<GLib.Volume> get_volumes ();
public abstract bool has_media ();
@@ -2070,6 +2124,7 @@ namespace GLib {
public static GLib.File new_for_commandline_arg (string arg);
public static GLib.File new_for_path (string path);
public static GLib.File new_for_uri (string uri);
+ public static unowned GLib.File new_tmp (string tmpl, out unowned GLib.FileIOStream iostream) throws GLib.Error;
public abstract unowned GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async unowned GLib.FileIOStream open_readwrite_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.File parse_name (string parse_name);
@@ -2148,6 +2203,7 @@ namespace GLib {
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_name ();
public abstract unowned GLib.File get_root ();
+ public abstract unowned string get_sort_key ();
public abstract unowned string get_uuid ();
public abstract unowned GLib.Volume get_volume ();
public abstract async unowned string guess_content_type (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2163,6 +2219,15 @@ namespace GLib {
public signal void unmounted ();
}
[CCode (cheader_filename = "gio/gio.h")]
+ public interface NetworkMonitor : GLib.Initable, GLib.Object {
+ public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public abstract async bool can_reach_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public static unowned GLib.NetworkMonitor get_default ();
+ public bool get_network_available ();
+ public bool network_available { get; }
+ public signal void network_changed (bool available);
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
public interface PollableInputStream : GLib.InputStream {
public abstract bool can_poll ();
public abstract GLib.TimeoutSource create_source (GLib.Cancellable? cancellable = null);
@@ -2259,6 +2324,7 @@ namespace GLib {
public abstract unowned string get_identifier (string kind);
public abstract unowned GLib.Mount get_mount ();
public abstract unowned string get_name ();
+ public abstract unowned string get_sort_key ();
public abstract unowned string get_uuid ();
public async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoWrapper]
@@ -3027,6 +3093,8 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
+ public const string NETWORK_MONITOR_EXTENSION_POINT_NAME;
+ [CCode (cheader_filename = "gio/gio.h")]
public const string PROXY_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
public const string PROXY_RESOLVER_EXTENSION_POINT_NAME;
diff --git a/vapi/packages/gio-2.0/gio-2.0.gi b/vapi/packages/gio-2.0/gio-2.0.gi
index a28a693..c1701b8 100644
--- a/vapi/packages/gio-2.0/gio-2.0.gi
+++ b/vapi/packages/gio-2.0/gio-2.0.gi
@@ -1139,6 +1139,19 @@
<parameter name="matcher" type="GFileAttributeMatcher*"/>
</parameters>
</method>
+ <method name="subtract" symbol="g_file_attribute_matcher_subtract">
+ <return-type type="GFileAttributeMatcher*"/>
+ <parameters>
+ <parameter name="matcher" type="GFileAttributeMatcher*"/>
+ <parameter name="subtract" type="GFileAttributeMatcher*"/>
+ </parameters>
+ </method>
+ <method name="to_string" symbol="g_file_attribute_matcher_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="matcher" type="GFileAttributeMatcher*"/>
+ </parameters>
+ </method>
<method name="unref" symbol="g_file_attribute_matcher_unref">
<return-type type="void"/>
<parameters>
@@ -1146,6 +1159,66 @@
</parameters>
</method>
</boxed>
+ <boxed name="GSettingsSchema" type-name="GSettingsSchema" get-type="g_settings_schema_get_type">
+ <method name="get_id" symbol="g_settings_schema_get_id">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="schema" type="GSettingsSchema*"/>
+ </parameters>
+ </method>
+ <method name="get_path" symbol="g_settings_schema_get_path">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="schema" type="GSettingsSchema*"/>
+ </parameters>
+ </method>
+ <method name="ref" symbol="g_settings_schema_ref">
+ <return-type type="GSettingsSchema*"/>
+ <parameters>
+ <parameter name="schema" type="GSettingsSchema*"/>
+ </parameters>
+ </method>
+ <method name="unref" symbol="g_settings_schema_unref">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="schema" type="GSettingsSchema*"/>
+ </parameters>
+ </method>
+ </boxed>
+ <boxed name="GSettingsSchemaSource" type-name="GSettingsSchemaSource" get-type="g_settings_schema_source_get_type">
+ <method name="get_default" symbol="g_settings_schema_source_get_default">
+ <return-type type="GSettingsSchemaSource*"/>
+ </method>
+ <method name="lookup" symbol="g_settings_schema_source_lookup">
+ <return-type type="GSettingsSchema*"/>
+ <parameters>
+ <parameter name="source" type="GSettingsSchemaSource*"/>
+ <parameter name="schema_id" type="gchar*"/>
+ <parameter name="recursive" type="gboolean"/>
+ </parameters>
+ </method>
+ <constructor name="new_from_directory" symbol="g_settings_schema_source_new_from_directory">
+ <return-type type="GSettingsSchemaSource*"/>
+ <parameters>
+ <parameter name="directory" type="gchar*"/>
+ <parameter name="parent" type="GSettingsSchemaSource*"/>
+ <parameter name="trusted" type="gboolean"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </constructor>
+ <method name="ref" symbol="g_settings_schema_source_ref">
+ <return-type type="GSettingsSchemaSource*"/>
+ <parameters>
+ <parameter name="source" type="GSettingsSchemaSource*"/>
+ </parameters>
+ </method>
+ <method name="unref" symbol="g_settings_schema_source_unref">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="source" type="GSettingsSchemaSource*"/>
+ </parameters>
+ </method>
+ </boxed>
<boxed name="GSrvTarget" type-name="GSrvTarget" get-type="g_srv_target_get_type">
<method name="copy" symbol="g_srv_target_copy">
<return-type type="GSrvTarget*"/>
@@ -1656,6 +1729,12 @@
<parameter name="files" type="GList*"/>
</parameters>
</method>
+ <method name="get_environment" symbol="g_app_launch_context_get_environment">
+ <return-type type="char**"/>
+ <parameters>
+ <parameter name="context" type="GAppLaunchContext*"/>
+ </parameters>
+ </method>
<method name="get_startup_notify_id" symbol="g_app_launch_context_get_startup_notify_id">
<return-type type="char*"/>
<parameters>
@@ -1674,6 +1753,21 @@
<constructor name="new" symbol="g_app_launch_context_new">
<return-type type="GAppLaunchContext*"/>
</constructor>
+ <method name="setenv" symbol="g_app_launch_context_setenv">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context" type="GAppLaunchContext*"/>
+ <parameter name="variable" type="char*"/>
+ <parameter name="value" type="char*"/>
+ </parameters>
+ </method>
+ <method name="unsetenv" symbol="g_app_launch_context_unsetenv">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context" type="GAppLaunchContext*"/>
+ <parameter name="variable" type="char*"/>
+ </parameters>
+ </method>
<vfunc name="get_display">
<return-type type="char*"/>
<parameters>
@@ -1715,6 +1809,9 @@
<parameter name="application" type="GApplication*"/>
</parameters>
</method>
+ <method name="get_default" symbol="g_application_get_default">
+ <return-type type="GApplication*"/>
+ </method>
<method name="get_flags" symbol="g_application_get_flags">
<return-type type="GApplicationFlags"/>
<parameters>
@@ -1803,6 +1900,12 @@
<parameter name="application_id" type="gchar*"/>
</parameters>
</method>
+ <method name="set_default" symbol="g_application_set_default">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="application" type="GApplication*"/>
+ </parameters>
+ </method>
<method name="set_flags" symbol="g_application_set_flags">
<return-type type="void"/>
<parameters>
@@ -1818,11 +1921,13 @@
</parameters>
</method>
<property name="action-group" type="GActionGroup*" readable="0" writable="1" construct="0" construct-only="0"/>
+ <property name="app-menu" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="application-id" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="flags" type="GApplicationFlags" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="inactivity-timeout" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="is-registered" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="is-remote" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="menubar" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="activate" when="LAST">
<return-type type="void"/>
<parameters>
@@ -2845,6 +2950,12 @@
<parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
</parameters>
</method>
+ <method name="get_connections" symbol="g_dbus_interface_skeleton_get_connections">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
+ </parameters>
+ </method>
<method name="get_flags" symbol="g_dbus_interface_skeleton_get_flags">
<return-type type="GDBusInterfaceSkeletonFlags"/>
<parameters>
@@ -2875,6 +2986,13 @@
<parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
</parameters>
</method>
+ <method name="has_connection" symbol="g_dbus_interface_skeleton_has_connection">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
+ <parameter name="connection" type="GDBusConnection*"/>
+ </parameters>
+ </method>
<method name="set_flags" symbol="g_dbus_interface_skeleton_set_flags">
<return-type type="void"/>
<parameters>
@@ -2888,6 +3006,13 @@
<parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
</parameters>
</method>
+ <method name="unexport_from_connection" symbol="g_dbus_interface_skeleton_unexport_from_connection">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="interface_" type="GDBusInterfaceSkeleton*"/>
+ <parameter name="connection" type="GDBusConnection*"/>
+ </parameters>
+ </method>
<property name="g-flags" type="GDBusInterfaceSkeletonFlags" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="g-authorize-method" when="LAST">
<return-type type="gboolean"/>
@@ -3584,8 +3709,8 @@
<parameter name="object_path" type="gchar*"/>
</parameters>
</constructor>
- <property name="connection" type="GDBusConnection*" readable="1" writable="1" construct="0" construct-only="1"/>
- <property name="object-path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="g-connection" type="GDBusConnection*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="g-object-path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
</object>
<object name="GDBusObjectSkeleton" parent="GObject" type-name="GDBusObjectSkeleton" get-type="g_dbus_object_skeleton_get_type">
<implements>
@@ -3631,7 +3756,7 @@
<parameter name="object_path" type="gchar*"/>
</parameters>
</method>
- <property name="object-path" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="g-object-path" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<signal name="authorize-method" when="LAST">
<return-type type="gboolean"/>
<parameters>
@@ -5451,7 +5576,7 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
- <property name="closed" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="closed" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="input-stream" type="GInputStream*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="output-stream" type="GOutputStream*" readable="1" writable="0" construct="0" construct-only="0"/>
<vfunc name="close_async">
@@ -5635,6 +5760,67 @@
</parameters>
</vfunc>
</object>
+ <object name="GInetAddressMask" parent="GObject" type-name="GInetAddressMask" get-type="g_inet_address_mask_get_type">
+ <implements>
+ <interface name="GInitable"/>
+ </implements>
+ <method name="equal" symbol="g_inet_address_mask_equal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ <parameter name="mask2" type="GInetAddressMask*"/>
+ </parameters>
+ </method>
+ <method name="get_address" symbol="g_inet_address_mask_get_address">
+ <return-type type="GInetAddress*"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ </parameters>
+ </method>
+ <method name="get_family" symbol="g_inet_address_mask_get_family">
+ <return-type type="GSocketFamily"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ </parameters>
+ </method>
+ <method name="get_length" symbol="g_inet_address_mask_get_length">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ </parameters>
+ </method>
+ <method name="matches" symbol="g_inet_address_mask_matches">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ <parameter name="address" type="GInetAddress*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="g_inet_address_mask_new">
+ <return-type type="GInetAddressMask*"/>
+ <parameters>
+ <parameter name="addr" type="GInetAddress*"/>
+ <parameter name="length" type="guint"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </constructor>
+ <constructor name="new_from_string" symbol="g_inet_address_mask_new_from_string">
+ <return-type type="GInetAddressMask*"/>
+ <parameters>
+ <parameter name="mask_string" type="gchar*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </constructor>
+ <method name="to_string" symbol="g_inet_address_mask_to_string">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="mask" type="GInetAddressMask*"/>
+ </parameters>
+ </method>
+ <property name="address" type="GInetAddress*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="family" type="GSocketFamily" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="length" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+ </object>
<object name="GInetSocketAddress" parent="GSocketAddress" type-name="GInetSocketAddress" get-type="g_inet_socket_address_get_type">
<implements>
<interface name="GSocketConnectable"/>
@@ -7458,20 +7644,28 @@
<constructor name="new" symbol="g_settings_new">
<return-type type="GSettings*"/>
<parameters>
- <parameter name="schema" type="gchar*"/>
+ <parameter name="schema_id" type="gchar*"/>
+ </parameters>
+ </constructor>
+ <constructor name="new_full" symbol="g_settings_new_full">
+ <return-type type="GSettings*"/>
+ <parameters>
+ <parameter name="schema" type="GSettingsSchema*"/>
+ <parameter name="backend" type="GSettingsBackend*"/>
+ <parameter name="path" type="gchar*"/>
</parameters>
</constructor>
<constructor name="new_with_backend" symbol="g_settings_new_with_backend">
<return-type type="GSettings*"/>
<parameters>
- <parameter name="schema" type="gchar*"/>
+ <parameter name="schema_id" type="gchar*"/>
<parameter name="backend" type="GSettingsBackend*"/>
</parameters>
</constructor>
<constructor name="new_with_backend_and_path" symbol="g_settings_new_with_backend_and_path">
<return-type type="GSettings*"/>
<parameters>
- <parameter name="schema" type="gchar*"/>
+ <parameter name="schema_id" type="gchar*"/>
<parameter name="backend" type="GSettingsBackend*"/>
<parameter name="path" type="gchar*"/>
</parameters>
@@ -7479,7 +7673,7 @@
<constructor name="new_with_path" symbol="g_settings_new_with_path">
<return-type type="GSettings*"/>
<parameters>
- <parameter name="schema" type="gchar*"/>
+ <parameter name="schema_id" type="gchar*"/>
<parameter name="path" type="gchar*"/>
</parameters>
</constructor>
@@ -7599,6 +7793,8 @@
<property name="has-unapplied" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="schema" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="schema-id" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="settings-schema" type="GSettingsSchema*" readable="1" writable="1" construct="0" construct-only="1"/>
<signal name="change-event" when="LAST">
<return-type type="gboolean"/>
<parameters>
@@ -11102,6 +11298,12 @@
<parameter name="drive" type="GDrive*"/>
</parameters>
</method>
+ <method name="get_sort_key" symbol="g_drive_get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="drive" type="GDrive*"/>
+ </parameters>
+ </method>
<method name="get_start_stop_type" symbol="g_drive_get_start_stop_type">
<return-type type="GDriveStartStopType"/>
<parameters>
@@ -11309,6 +11511,12 @@
<parameter name="drive" type="GDrive*"/>
</parameters>
</vfunc>
+ <vfunc name="get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="drive" type="GDrive*"/>
+ </parameters>
+ </vfunc>
<vfunc name="get_start_stop_type">
<return-type type="GDriveStartStopType"/>
<parameters>
@@ -11892,6 +12100,14 @@
<parameter name="uri" type="char*"/>
</parameters>
</method>
+ <method name="new_tmp" symbol="g_file_new_tmp">
+ <return-type type="GFile*"/>
+ <parameters>
+ <parameter name="tmpl" type="char*"/>
+ <parameter name="iostream" type="GFileIOStream**"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="open_readwrite" symbol="g_file_open_readwrite">
<return-type type="GFileIOStream*"/>
<parameters>
@@ -13419,6 +13635,12 @@
<parameter name="mount" type="GMount*"/>
</parameters>
</method>
+ <method name="get_sort_key" symbol="g_mount_get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="mount" type="GMount*"/>
+ </parameters>
+ </method>
<method name="get_uuid" symbol="g_mount_get_uuid">
<return-type type="char*"/>
<parameters>
@@ -13629,6 +13851,12 @@
<parameter name="mount" type="GMount*"/>
</parameters>
</vfunc>
+ <vfunc name="get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="mount" type="GMount*"/>
+ </parameters>
+ </vfunc>
<vfunc name="get_uuid">
<return-type type="char*"/>
<parameters>
@@ -13725,6 +13953,83 @@
</parameters>
</vfunc>
</interface>
+ <interface name="GNetworkMonitor" type-name="GNetworkMonitor" get-type="g_network_monitor_get_type">
+ <requires>
+ <interface name="GInitable"/>
+ <interface name="GObject"/>
+ </requires>
+ <method name="can_reach" symbol="g_network_monitor_can_reach">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="can_reach_async" symbol="g_network_monitor_can_reach_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="can_reach_finish" symbol="g_network_monitor_can_reach_finish">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="get_default" symbol="g_network_monitor_get_default">
+ <return-type type="GNetworkMonitor*"/>
+ </method>
+ <method name="get_network_available" symbol="g_network_monitor_get_network_available">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ </parameters>
+ </method>
+ <property name="network-available" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
+ <signal name="network-changed" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="available" type="gboolean"/>
+ </parameters>
+ </signal>
+ <vfunc name="can_reach">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="can_reach_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="can_reach_finish">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="monitor" type="GNetworkMonitor*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ </interface>
<interface name="GPollableInputStream" type-name="GPollableInputStream" get-type="g_pollable_input_stream_get_type">
<requires>
<interface name="GInputStream"/>
@@ -14407,6 +14712,12 @@
<parameter name="volume" type="GVolume*"/>
</parameters>
</method>
+ <method name="get_sort_key" symbol="g_volume_get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="volume" type="GVolume*"/>
+ </parameters>
+ </method>
<method name="get_uuid" symbol="g_volume_get_uuid">
<return-type type="char*"/>
<parameters>
@@ -14542,6 +14853,12 @@
<parameter name="volume" type="GVolume*"/>
</parameters>
</vfunc>
+ <vfunc name="get_sort_key">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="volume" type="GVolume*"/>
+ </parameters>
+ </vfunc>
<vfunc name="get_uuid">
<return-type type="char*"/>
<parameters>
@@ -14655,6 +14972,7 @@
<constant name="G_MENU_LINK_SECTION" type="char*" value="section"/>
<constant name="G_MENU_LINK_SUBMENU" type="char*" value="submenu"/>
<constant name="G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME" type="char*" value="gio-native-volume-monitor"/>
+ <constant name="G_NETWORK_MONITOR_EXTENSION_POINT_NAME" type="char*" value="gio-network-monitor"/>
<constant name="G_PROXY_EXTENSION_POINT_NAME" type="char*" value="gio-proxy"/>
<constant name="G_PROXY_RESOLVER_EXTENSION_POINT_NAME" type="char*" value="gio-proxy-resolver"/>
<constant name="G_TLS_BACKEND_EXTENSION_POINT_NAME" type="char*" value="gio-tls-backend"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]