]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_vfs_get_* bindings
authorJürg Billeter <j@bitron.ch>
Thu, 8 Oct 2009 18:25:48 +0000 (20:25 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 8 Oct 2009 18:25:48 +0000 (20:25 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 7e45ae3136cd6f966f49df48c5b77cb2e60e2bd1..c8300ad141eb5672c683ae327f4fb6c1aaedab82 100644 (file)
@@ -856,10 +856,10 @@ namespace GLib {
                [NoWrapper]
                public virtual void add_writable_namespaces (GLib.FileAttributeInfoList list);
                public static unowned GLib.Vfs get_default ();
-               public virtual unowned GLib.File get_file_for_path (string path);
-               public virtual unowned GLib.File get_file_for_uri (string uri);
+               public virtual GLib.File get_file_for_path (string path);
+               public virtual GLib.File get_file_for_uri (string uri);
                public static unowned GLib.Vfs get_local ();
-               public virtual unowned string get_supported_uri_schemes ();
+               public virtual unowned string[] get_supported_uri_schemes ();
                public virtual bool is_active ();
                [NoWrapper]
                public virtual void local_file_add_info (string filename, uint64 device, GLib.FileAttributeMatcher attribute_matcher, GLib.FileInfo info, GLib.Cancellable? cancellable, void* extra_data, GLib.DestroyNotify free_extra_data);
index e458e868b0f9f288c74c6cd63ae00c64b9076cbf..1eac08b050fb65ac99b8fab0ba27264c93214df0 100644 (file)
@@ -79,6 +79,9 @@ g_socket_listener_add_socket.source_object nullable="1"
 g_themed_icon_new_from_names.iconnames is_array="1"
 g_themed_icon_new_from_names.len hidden="1"
 g_themed_icon_get_names is_array="1" no_array_length="1"
+g_vfs_get_file_for_path transfer_ownership="1"
+g_vfs_get_file_for_uri transfer_ownership="1"
+g_vfs_get_supported_uri_schemes is_array="1"
 
 g_*.cancellable nullable="1"
 g_*.mount_operation nullable="1"