]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_file_hash binding
authorJürg Billeter <j@bitron.ch>
Tue, 2 Jun 2009 13:57:06 +0000 (15:57 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 2 Jun 2009 13:57:06 +0000 (15:57 +0200)
Based on patch by Richard Schwarting, fixes bug 578092.

vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index ffdcf573d994c26a4cf7a65d7f944e32b9e0ceb2..2b68078bacc6392531249575deb045d4ada80a08 100644 (file)
@@ -721,7 +721,7 @@ namespace GLib {
                public abstract string get_uri_scheme ();
                public bool has_prefix (GLib.File prefix);
                public abstract bool has_uri_scheme (string uri_scheme);
-               public abstract uint hash (void* file);
+               public abstract uint hash ();
                public abstract bool is_native ();
                public bool load_contents (GLib.Cancellable? cancellable, out string contents, out size_t length, out string etag_out) throws GLib.Error;
                public void load_contents_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
index 5f677d7f90e644ca9cf582efc4393edb97055cf6..87cb1560c92f744d0521b3b8e03370ff2e371565 100644 (file)
@@ -30,6 +30,7 @@ g_file_get_path transfer_ownership="1" nullable="1"
 g_file_get_relative_path transfer_ownership="1" nullable="1"
 g_file_get_uri transfer_ownership="1"
 g_file_get_uri_scheme transfer_ownership="1"
+g_file_hash.file hidden="1"
 g_file_load_contents.contents transfer_ownership="1"
 g_file_load_contents.length is_out="1"
 g_file_load_contents.etag_out transfer_ownership="1"