[vala] gio-2.0: Update to 2.24.0



commit c60de7b45ecf8110dd0493f59eb2bacfa8681102
Author: Jürg Billeter <j bitron ch>
Date:   Wed Mar 31 19:18:14 2010 +0200

    gio-2.0: Update to 2.24.0

 vapi/gio-2.0.vapi                      |  104 ++++++++++++++-
 vapi/packages/gio-2.0/gio-2.0.gi       |  234 +++++++++++++++++++++++++++++++-
 vapi/packages/gio-2.0/gio-2.0.metadata |    2 +-
 3 files changed, 331 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 87de1b2..96863f5 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -50,14 +50,42 @@ namespace GLib {
 		public static unowned GLib.Cancellable get_current ();
 		public int get_fd ();
 		public bool is_cancelled ();
-		public void make_pollfd (GLib.PollFD pollfd);
+		public bool make_pollfd (GLib.PollFD pollfd);
 		public void pop_current ();
 		public void push_current ();
+		public void release_fd ();
 		public void reset ();
 		public bool set_error_if_cancelled () throws GLib.Error;
 		public virtual signal void cancelled ();
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
+	public class CharsetConverter : GLib.Object, GLib.Converter, GLib.Initable {
+		[CCode (has_construct_function = false)]
+		public CharsetConverter (string to_charset, string from_charset) throws GLib.Error;
+		public uint get_num_fallbacks ();
+		public bool get_use_fallback ();
+		public void set_use_fallback (bool use_fallback);
+		[NoAccessorMethod]
+		public string from_charset { owned get; construct; }
+		[NoAccessorMethod]
+		public string to_charset { owned get; construct; }
+		public bool use_fallback { get; set construct; }
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
+	public class ConverterInputStream : GLib.FilterInputStream {
+		[CCode (type = "GInputStream*", has_construct_function = false)]
+		public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
+		public unowned GLib.Converter get_converter ();
+		public GLib.Converter converter { get; construct; }
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
+	public class ConverterOutputStream : GLib.FilterOutputStream {
+		[CCode (type = "GOutputStream*", has_construct_function = false)]
+		public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
+		public unowned GLib.Converter get_converter ();
+		public GLib.Converter converter { get; construct; }
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
 	public class DataInputStream : GLib.BufferedInputStream {
 		[CCode (has_construct_function = false)]
 		public DataInputStream (GLib.InputStream base_stream);
@@ -152,6 +180,10 @@ namespace GLib {
 		public bool matches (string attribute);
 		public bool matches_only (string attribute);
 	}
+	[Compact]
+	[CCode (cheader_filename = "gio/gio.h")]
+	public class FileDescriptorBased {
+	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class FileEnumerator : GLib.Object {
 		public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
@@ -354,6 +386,7 @@ namespace GLib {
 		[CCode (has_construct_function = false)]
 		public IOModule (string filename);
 		public void load ();
+		public static unowned string query ();
 		public void unload ();
 	}
 	[Compact]
@@ -469,10 +502,17 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
 		[CCode (type = "GOutputStream*", has_construct_function = false)]
-		public MemoryOutputStream (void* data, size_t len, GLib.ReallocFunc realloc_fn, GLib.DestroyNotify? destroy);
+		public MemoryOutputStream (void* data, size_t size, GLib.ReallocFunc realloc_function, GLib.DestroyNotify? destroy_function);
 		public void* get_data ();
 		public size_t get_data_size ();
 		public size_t get_size ();
+		public void* data { get; construct; }
+		public ulong data_size { get; }
+		[NoAccessorMethod]
+		public void* destroy_function { get; construct; }
+		[NoAccessorMethod]
+		public void* realloc_function { get; construct; }
+		public ulong size { get; construct; }
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class MountOperation : GLib.Object {
@@ -542,6 +582,7 @@ namespace GLib {
 		public virtual bool flush_finish (GLib.AsyncResult _result) throws GLib.Error;
 		public bool has_pending ();
 		public bool is_closed ();
+		public bool is_closing ();
 		public bool set_pending () throws GLib.Error;
 		public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
 		public virtual async ssize_t splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -573,6 +614,7 @@ namespace GLib {
 		public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable) throws GLib.Error;
 		public virtual GLib.List<GLib.SrvTarget> lookup_service_finish (GLib.AsyncResult _result) throws GLib.Error;
 		public void set_default ();
+		public virtual signal void reload ();
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class Settings : GLib.Object {
@@ -894,6 +936,22 @@ namespace GLib {
 		public virtual signal void volume_removed (GLib.Volume volume);
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
+	public class ZlibCompressor : GLib.Object, GLib.Converter {
+		[CCode (has_construct_function = false)]
+		public ZlibCompressor (GLib.ZlibCompressorFormat format, int level);
+		[NoAccessorMethod]
+		public GLib.ZlibCompressorFormat format { get; construct; }
+		[NoAccessorMethod]
+		public int level { get; construct; }
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
+	public class ZlibDecompressor : GLib.Object, GLib.Converter {
+		[CCode (has_construct_function = false)]
+		public ZlibDecompressor (GLib.ZlibCompressorFormat format);
+		[NoAccessorMethod]
+		public GLib.ZlibCompressorFormat format { get; construct; }
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
 	public interface AppInfo : GLib.Object {
 		public abstract bool add_supports_type (string content_type) throws GLib.Error;
 		public abstract bool can_delete ();
@@ -910,6 +968,7 @@ namespace GLib {
 		public static unowned GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
 		public static unowned GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
 		public abstract unowned string get_description ();
+		public abstract unowned string get_display_name ();
 		public abstract unowned string get_executable ();
 		public abstract unowned GLib.Icon get_icon ();
 		public abstract unowned string get_id ();
@@ -940,6 +999,11 @@ namespace GLib {
 		public abstract void* get_user_data ();
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
+	public interface Converter : GLib.Object {
+		public abstract GLib.ConverterResult convert (void* inbuf, size_t inbuf_size, void* outbuf, size_t outbuf_size, GLib.ConverterFlags flags, size_t bytes_read, size_t bytes_written) throws GLib.Error;
+		public abstract void reset ();
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
 	public interface Drive : GLib.Object {
 		public abstract bool can_eject ();
 		public abstract bool can_poll_for_media ();
@@ -1010,6 +1074,7 @@ namespace GLib {
 		public abstract string? get_relative_path (GLib.File descendant);
 		public abstract string get_uri ();
 		public abstract string get_uri_scheme ();
+		public bool has_parent (GLib.File parent);
 		public bool has_prefix (GLib.File prefix);
 		public abstract bool has_uri_scheme (string uri_scheme);
 		public abstract uint hash ();
@@ -1124,6 +1189,7 @@ namespace GLib {
 		public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
 		public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
 		public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
+		public abstract unowned GLib.File get_default_location ();
 		public abstract unowned GLib.Drive get_drive ();
 		public abstract unowned GLib.Icon get_icon ();
 		public abstract unowned string get_name ();
@@ -1199,6 +1265,20 @@ namespace GLib {
 		SAVING_SUPPORTED,
 		ANONYMOUS_SUPPORTED
 	}
+	[CCode (cprefix = "G_CONVERTER_", cheader_filename = "gio/gio.h")]
+	[Flags]
+	public enum ConverterFlags {
+		NO_FLAGS,
+		INPUT_AT_END,
+		FLUSH
+	}
+	[CCode (cprefix = "G_CONVERTER_", cheader_filename = "gio/gio.h")]
+	public enum ConverterResult {
+		ERROR,
+		CONVERTED,
+		FINISHED,
+		FLUSHED
+	}
 	[CCode (cprefix = "G_DATA_STREAM_BYTE_ORDER_", cheader_filename = "gio/gio.h")]
 	public enum DataStreamByteOrder {
 		BIG_ENDIAN,
@@ -1283,13 +1363,15 @@ namespace GLib {
 		CREATED,
 		ATTRIBUTE_CHANGED,
 		PRE_UNMOUNT,
-		UNMOUNTED
+		UNMOUNTED,
+		MOVED
 	}
 	[CCode (cprefix = "G_FILE_MONITOR_", cheader_filename = "gio/gio.h")]
 	[Flags]
 	public enum FileMonitorFlags {
 		NONE,
-		WATCH_MOUNTS
+		WATCH_MOUNTS,
+		SEND_MOVED
 	}
 	[CCode (cprefix = "G_FILE_QUERY_INFO_", cheader_filename = "gio/gio.h")]
 	[Flags]
@@ -1377,6 +1459,12 @@ namespace GLib {
 		DATAGRAM,
 		SEQPACKET
 	}
+	[CCode (cprefix = "G_ZLIB_COMPRESSOR_FORMAT_", cheader_filename = "gio/gio.h")]
+	public enum ZlibCompressorFormat {
+		ZLIB,
+		GZIP,
+		RAW
+	}
 	[CCode (cprefix = "G_IO_ERROR_", cheader_filename = "gio/gio.h")]
 	public errordomain IOError {
 		FAILED,
@@ -1413,6 +1501,8 @@ namespace GLib {
 		TOO_MANY_OPEN_FILES,
 		NOT_INITIALIZED,
 		ADDRESS_IN_USE,
+		PARTIAL_INPUT,
+		INVALID_DATA,
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
@@ -1557,8 +1647,12 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
 	[CCode (cheader_filename = "gio/gio.h")]
+	public const string FILE_ATTRIBUTE_TRASH_DELETION_DATE;
+	[CCode (cheader_filename = "gio/gio.h")]
 	public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
 	[CCode (cheader_filename = "gio/gio.h")]
+	public const string FILE_ATTRIBUTE_TRASH_ORIG_PATH;
+	[CCode (cheader_filename = "gio/gio.h")]
 	public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
 	[CCode (cheader_filename = "gio/gio.h")]
 	public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
@@ -1624,6 +1718,8 @@ namespace GLib {
 	public static GLib.Quark g_io_error_quark ();
 	[CCode (cname = "g_io_modules_load_all_in_directory", cheader_filename = "gio/gio.h")]
 	public static GLib.List<weak GLib.TypeModule> g_io_modules_load_all_in_directory (string dirname);
+	[CCode (cname = "g_io_modules_scan_all_in_directory", cheader_filename = "gio/gio.h")]
+	public static void g_io_modules_scan_all_in_directory (string dirname);
 	[CCode (cname = "g_io_scheduler_cancel_all_jobs", cheader_filename = "gio/gio.h")]
 	public static void g_io_scheduler_cancel_all_jobs ();
 	[CCode (cname = "g_io_scheduler_push_job", cheader_filename = "gio/gio.h")]
diff --git a/vapi/packages/gio-2.0/gio-2.0.gi b/vapi/packages/gio-2.0/gio-2.0.gi
index 185abf6..42f51a3 100644
--- a/vapi/packages/gio-2.0/gio-2.0.gi
+++ b/vapi/packages/gio-2.0/gio-2.0.gi
@@ -84,6 +84,12 @@
 				<parameter name="dirname" type="gchar*"/>
 			</parameters>
 		</function>
+		<function name="g_io_modules_scan_all_in_directory" symbol="g_io_modules_scan_all_in_directory">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="dirname" type="char*"/>
+			</parameters>
+		</function>
 		<function name="g_io_scheduler_cancel_all_jobs" symbol="g_io_scheduler_cancel_all_jobs">
 			<return-type type="void"/>
 		</function>
@@ -228,6 +234,8 @@
 				</parameters>
 			</method>
 		</struct>
+		<struct name="GFileDescriptorBased">
+		</struct>
 		<struct name="GFileIconClass">
 		</struct>
 		<struct name="GFileInfoClass">
@@ -429,6 +437,12 @@
 				</parameters>
 			</constructor>
 		</boxed>
+		<enum name="GConverterResult" type-name="GConverterResult" get-type="g_converter_result_get_type">
+			<member name="G_CONVERTER_ERROR" value="0"/>
+			<member name="G_CONVERTER_CONVERTED" value="1"/>
+			<member name="G_CONVERTER_FINISHED" value="2"/>
+			<member name="G_CONVERTER_FLUSHED" value="3"/>
+		</enum>
 		<enum name="GDataStreamByteOrder" type-name="GDataStreamByteOrder" get-type="g_data_stream_byte_order_get_type">
 			<member name="G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN" value="0"/>
 			<member name="G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN" value="1"/>
@@ -481,6 +495,7 @@
 			<member name="G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED" value="4"/>
 			<member name="G_FILE_MONITOR_EVENT_PRE_UNMOUNT" value="5"/>
 			<member name="G_FILE_MONITOR_EVENT_UNMOUNTED" value="6"/>
+			<member name="G_FILE_MONITOR_EVENT_MOVED" value="7"/>
 		</enum>
 		<enum name="GFileType" type-name="GFileType" get-type="g_file_type_get_type">
 			<member name="G_FILE_TYPE_UNKNOWN" value="0"/>
@@ -531,6 +546,8 @@
 			<member name="G_IO_ERROR_TOO_MANY_OPEN_FILES" value="31"/>
 			<member name="G_IO_ERROR_NOT_INITIALIZED" value="32"/>
 			<member name="G_IO_ERROR_ADDRESS_IN_USE" value="33"/>
+			<member name="G_IO_ERROR_PARTIAL_INPUT" value="34"/>
+			<member name="G_IO_ERROR_INVALID_DATA" value="35"/>
 		</enum>
 		<enum name="GMountMountFlags" type-name="GMountMountFlags" get-type="g_mount_mount_flags_get_type">
 			<member name="G_MOUNT_MOUNT_NONE" value="0"/>
@@ -575,6 +592,11 @@
 			<member name="G_SOCKET_TYPE_DATAGRAM" value="2"/>
 			<member name="G_SOCKET_TYPE_SEQPACKET" value="3"/>
 		</enum>
+		<enum name="GZlibCompressorFormat" type-name="GZlibCompressorFormat" get-type="g_zlib_compressor_format_get_type">
+			<member name="G_ZLIB_COMPRESSOR_FORMAT_ZLIB" value="0"/>
+			<member name="G_ZLIB_COMPRESSOR_FORMAT_GZIP" value="1"/>
+			<member name="G_ZLIB_COMPRESSOR_FORMAT_RAW" value="2"/>
+		</enum>
 		<flags name="GAppInfoCreateFlags" type-name="GAppInfoCreateFlags" get-type="g_app_info_create_flags_get_type">
 			<member name="G_APP_INFO_CREATE_NONE" value="0"/>
 			<member name="G_APP_INFO_CREATE_NEEDS_TERMINAL" value="1"/>
@@ -587,6 +609,11 @@
 			<member name="G_ASK_PASSWORD_SAVING_SUPPORTED" value="8"/>
 			<member name="G_ASK_PASSWORD_ANONYMOUS_SUPPORTED" value="16"/>
 		</flags>
+		<flags name="GConverterFlags" type-name="GConverterFlags" get-type="g_converter_flags_get_type">
+			<member name="G_CONVERTER_NO_FLAGS" value="0"/>
+			<member name="G_CONVERTER_INPUT_AT_END" value="1"/>
+			<member name="G_CONVERTER_FLUSH" value="2"/>
+		</flags>
 		<flags name="GFileAttributeInfoFlags" type-name="GFileAttributeInfoFlags" get-type="g_file_attribute_info_flags_get_type">
 			<member name="G_FILE_ATTRIBUTE_INFO_NONE" value="0"/>
 			<member name="G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE" value="1"/>
@@ -609,6 +636,7 @@
 		<flags name="GFileMonitorFlags" type-name="GFileMonitorFlags" get-type="g_file_monitor_flags_get_type">
 			<member name="G_FILE_MONITOR_NONE" value="0"/>
 			<member name="G_FILE_MONITOR_WATCH_MOUNTS" value="1"/>
+			<member name="G_FILE_MONITOR_SEND_MOVED" value="2"/>
 		</flags>
 		<flags name="GFileQueryInfoFlags" type-name="GFileQueryInfoFlags" get-type="g_file_query_info_flags_get_type">
 			<member name="G_FILE_QUERY_INFO_NONE" value="0"/>
@@ -871,7 +899,7 @@
 				</parameters>
 			</method>
 			<method name="make_pollfd" symbol="g_cancellable_make_pollfd">
-				<return-type type="void"/>
+				<return-type type="gboolean"/>
 				<parameters>
 					<parameter name="cancellable" type="GCancellable*"/>
 					<parameter name="pollfd" type="GPollFD*"/>
@@ -892,6 +920,12 @@
 					<parameter name="cancellable" type="GCancellable*"/>
 				</parameters>
 			</method>
+			<method name="release_fd" symbol="g_cancellable_release_fd">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="cancellable" type="GCancellable*"/>
+				</parameters>
+			</method>
 			<method name="reset" symbol="g_cancellable_reset">
 				<return-type type="void"/>
 				<parameters>
@@ -912,6 +946,74 @@
 				</parameters>
 			</signal>
 		</object>
+		<object name="GCharsetConverter" parent="GObject" type-name="GCharsetConverter" get-type="g_charset_converter_get_type">
+			<implements>
+				<interface name="GConverter"/>
+				<interface name="GInitable"/>
+			</implements>
+			<method name="get_num_fallbacks" symbol="g_charset_converter_get_num_fallbacks">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="converter" type="GCharsetConverter*"/>
+				</parameters>
+			</method>
+			<method name="get_use_fallback" symbol="g_charset_converter_get_use_fallback">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="converter" type="GCharsetConverter*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="g_charset_converter_new">
+				<return-type type="GCharsetConverter*"/>
+				<parameters>
+					<parameter name="to_charset" type="gchar*"/>
+					<parameter name="from_charset" type="gchar*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</constructor>
+			<method name="set_use_fallback" symbol="g_charset_converter_set_use_fallback">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="converter" type="GCharsetConverter*"/>
+					<parameter name="use_fallback" type="gboolean"/>
+				</parameters>
+			</method>
+			<property name="from-charset" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="to-charset" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="use-fallback" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+		</object>
+		<object name="GConverterInputStream" parent="GFilterInputStream" type-name="GConverterInputStream" get-type="g_converter_input_stream_get_type">
+			<method name="get_converter" symbol="g_converter_input_stream_get_converter">
+				<return-type type="GConverter*"/>
+				<parameters>
+					<parameter name="converter_stream" type="GConverterInputStream*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="g_converter_input_stream_new">
+				<return-type type="GInputStream*"/>
+				<parameters>
+					<parameter name="base_stream" type="GInputStream*"/>
+					<parameter name="converter" type="GConverter*"/>
+				</parameters>
+			</constructor>
+			<property name="converter" type="GConverter*" readable="1" writable="1" construct="0" construct-only="1"/>
+		</object>
+		<object name="GConverterOutputStream" parent="GFilterOutputStream" type-name="GConverterOutputStream" get-type="g_converter_output_stream_get_type">
+			<method name="get_converter" symbol="g_converter_output_stream_get_converter">
+				<return-type type="GConverter*"/>
+				<parameters>
+					<parameter name="converter_stream" type="GConverterOutputStream*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="g_converter_output_stream_new">
+				<return-type type="GOutputStream*"/>
+				<parameters>
+					<parameter name="base_stream" type="GOutputStream*"/>
+					<parameter name="converter" type="GConverter*"/>
+				</parameters>
+			</constructor>
+			<property name="converter" type="GConverter*" readable="1" writable="1" construct="0" construct-only="1"/>
+		</object>
 		<object name="GDataInputStream" parent="GBufferedInputStream" type-name="GDataInputStream" get-type="g_data_input_stream_get_type">
 			<method name="get_byte_order" symbol="g_data_input_stream_get_byte_order">
 				<return-type type="GDataStreamByteOrder"/>
@@ -2253,6 +2355,9 @@
 					<parameter name="filename" type="gchar*"/>
 				</parameters>
 			</constructor>
+			<method name="query" symbol="g_io_module_query">
+				<return-type type="char**"/>
+			</method>
 			<method name="unload" symbol="g_io_module_unload">
 				<return-type type="void"/>
 				<parameters>
@@ -2784,11 +2889,16 @@
 				<return-type type="GOutputStream*"/>
 				<parameters>
 					<parameter name="data" type="gpointer"/>
-					<parameter name="len" type="gsize"/>
-					<parameter name="realloc_fn" type="GReallocFunc"/>
-					<parameter name="destroy" type="GDestroyNotify"/>
+					<parameter name="size" type="gsize"/>
+					<parameter name="realloc_function" type="GReallocFunc"/>
+					<parameter name="destroy_function" type="GDestroyNotify"/>
 				</parameters>
 			</constructor>
+			<property name="data" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="data-size" type="gulong" readable="1" writable="0" construct="0" construct-only="0"/>
+			<property name="destroy-function" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="realloc-function" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="size" type="gulong" readable="1" writable="1" construct="0" construct-only="1"/>
 		</object>
 		<object name="GMountOperation" parent="GObject" type-name="GMountOperation" get-type="g_mount_operation_get_type">
 			<method name="get_anonymous" symbol="g_mount_operation_get_anonymous">
@@ -3074,6 +3184,12 @@
 					<parameter name="stream" type="GOutputStream*"/>
 				</parameters>
 			</method>
+			<method name="is_closing" symbol="g_output_stream_is_closing">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="stream" type="GOutputStream*"/>
+				</parameters>
+			</method>
 			<method name="set_pending" symbol="g_output_stream_set_pending">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -3375,6 +3491,12 @@
 					<parameter name="resolver" type="GResolver*"/>
 				</parameters>
 			</method>
+			<signal name="reload" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="resolver" type="GResolver*"/>
+				</parameters>
+			</signal>
 			<vfunc name="lookup_by_address">
 				<return-type type="gchar*"/>
 				<parameters>
@@ -5072,6 +5194,32 @@
 				<return-type type="gboolean"/>
 			</vfunc>
 		</object>
+		<object name="GZlibCompressor" parent="GObject" type-name="GZlibCompressor" get-type="g_zlib_compressor_get_type">
+			<implements>
+				<interface name="GConverter"/>
+			</implements>
+			<constructor name="new" symbol="g_zlib_compressor_new">
+				<return-type type="GZlibCompressor*"/>
+				<parameters>
+					<parameter name="format" type="GZlibCompressorFormat"/>
+					<parameter name="level" type="int"/>
+				</parameters>
+			</constructor>
+			<property name="format" type="GZlibCompressorFormat" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="level" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
+		</object>
+		<object name="GZlibDecompressor" parent="GObject" type-name="GZlibDecompressor" get-type="g_zlib_decompressor_get_type">
+			<implements>
+				<interface name="GConverter"/>
+			</implements>
+			<constructor name="new" symbol="g_zlib_decompressor_new">
+				<return-type type="GZlibDecompressor*"/>
+				<parameters>
+					<parameter name="format" type="GZlibCompressorFormat"/>
+				</parameters>
+			</constructor>
+			<property name="format" type="GZlibCompressorFormat" readable="1" writable="1" construct="0" construct-only="1"/>
+		</object>
 		<interface name="GAppInfo" type-name="GAppInfo" get-type="g_app_info_get_type">
 			<requires>
 				<interface name="GObject"/>
@@ -5158,6 +5306,12 @@
 					<parameter name="appinfo" type="GAppInfo*"/>
 				</parameters>
 			</method>
+			<method name="get_display_name" symbol="g_app_info_get_display_name">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="appinfo" type="GAppInfo*"/>
+				</parameters>
+			</method>
 			<method name="get_executable" symbol="g_app_info_get_executable">
 				<return-type type="char*"/>
 				<parameters>
@@ -5307,6 +5461,12 @@
 					<parameter name="appinfo" type="GAppInfo*"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="get_display_name">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="appinfo" type="GAppInfo*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_executable">
 				<return-type type="char*"/>
 				<parameters>
@@ -5505,6 +5665,51 @@
 				</parameters>
 			</vfunc>
 		</interface>
+		<interface name="GConverter" type-name="GConverter" get-type="g_converter_get_type">
+			<requires>
+				<interface name="GObject"/>
+			</requires>
+			<method name="convert" symbol="g_converter_convert">
+				<return-type type="GConverterResult"/>
+				<parameters>
+					<parameter name="converter" type="GConverter*"/>
+					<parameter name="inbuf" type="void*"/>
+					<parameter name="inbuf_size" type="gsize"/>
+					<parameter name="outbuf" type="void*"/>
+					<parameter name="outbuf_size" type="gsize"/>
+					<parameter name="flags" type="GConverterFlags"/>
+					<parameter name="bytes_read" type="gsize*"/>
+					<parameter name="bytes_written" type="gsize*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
+			<method name="reset" symbol="g_converter_reset">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="converter" type="GConverter*"/>
+				</parameters>
+			</method>
+			<vfunc name="convert">
+				<return-type type="GConverterResult"/>
+				<parameters>
+					<parameter name="converter" type="GConverter*"/>
+					<parameter name="inbuf" type="void*"/>
+					<parameter name="inbuf_size" type="gsize"/>
+					<parameter name="outbuf" type="void*"/>
+					<parameter name="outbuf_size" type="gsize"/>
+					<parameter name="flags" type="GConverterFlags"/>
+					<parameter name="bytes_read" type="gsize*"/>
+					<parameter name="bytes_written" type="gsize*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="reset">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="converter" type="GConverter*"/>
+				</parameters>
+			</vfunc>
+		</interface>
 		<interface name="GDrive" type-name="GDrive" get-type="g_drive_get_type">
 			<requires>
 				<interface name="GObject"/>
@@ -6204,6 +6409,13 @@
 					<parameter name="file" type="GFile*"/>
 				</parameters>
 			</method>
+			<method name="has_parent" symbol="g_file_has_parent">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="parent" type="GFile*"/>
+				</parameters>
+			</method>
 			<method name="has_prefix" symbol="g_file_has_prefix">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -7881,6 +8093,12 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="get_default_location" symbol="g_mount_get_default_location">
+				<return-type type="GFile*"/>
+				<parameters>
+					<parameter name="mount" type="GMount*"/>
+				</parameters>
+			</method>
 			<method name="get_drive" symbol="g_mount_get_drive">
 				<return-type type="GDrive*"/>
 				<parameters>
@@ -8085,6 +8303,12 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="get_default_location">
+				<return-type type="GFile*"/>
+				<parameters>
+					<parameter name="mount" type="GMount*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_drive">
 				<return-type type="GDrive*"/>
 				<parameters>
@@ -8626,7 +8850,9 @@
 		<constant name="G_FILE_ATTRIBUTE_TIME_CREATED_USEC" type="char*" value="time::created-usec"/>
 		<constant name="G_FILE_ATTRIBUTE_TIME_MODIFIED" type="char*" value="time::modified"/>
 		<constant name="G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC" type="char*" value="time::modified-usec"/>
+		<constant name="G_FILE_ATTRIBUTE_TRASH_DELETION_DATE" type="char*" value="trash::deletion-date"/>
 		<constant name="G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT" type="char*" value="trash::item-count"/>
+		<constant name="G_FILE_ATTRIBUTE_TRASH_ORIG_PATH" type="char*" value="trash::orig-path"/>
 		<constant name="G_FILE_ATTRIBUTE_UNIX_BLOCKS" type="char*" value="unix::blocks"/>
 		<constant name="G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE" type="char*" value="unix::block-size"/>
 		<constant name="G_FILE_ATTRIBUTE_UNIX_DEVICE" type="char*" value="unix::device"/>
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index b7c3d6d..776275a 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -132,7 +132,7 @@ g_file_*.etag nullable="1"
 g_file_*.progress_callback nullable="1"
 g_io_scheduler_*.notify nullable="1"
 g_memory_input_stream_*.destroy nullable="1"
-g_memory_output_stream_*.destroy nullable="1"
+g_memory_output_stream_*.destroy_function nullable="1"
 
 g_file_mount_mountable.callback nullable="1"
 g_file_unmount_mountable.callback nullable="1"



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