Commit e473f402 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix g_file_load_contents bindings, patch by Zeeshan Ali Khattak, fixes bug

2009-01-03  Jürg Billeter  <j@bitron.ch>

	* vapi/packages/gio-2.0/:

	Fix g_file_load_contents bindings, patch by Zeeshan Ali Khattak,
	fixes bug 565779

	* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=2261
parent 9d268488
2009-01-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/:
Fix g_file_load_contents bindings, patch by Zeeshan Ali Khattak,
fixes bug 565779
* vapi/gio-2.0.vapi: regenerated
2009-01-03 Jürg Billeter <j@bitron.ch>
* vala/valafield.vala:
......
......@@ -572,11 +572,11 @@ namespace GLib {
public abstract bool has_uri_scheme (string uri_scheme);
public abstract uint hash (void* file);
public abstract bool is_native ();
public bool load_contents (GLib.Cancellable? cancellable, out unowned string contents, out size_t length, out unowned string etag_out) throws GLib.Error;
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);
public bool load_contents_finish (GLib.AsyncResult res, out unowned string contents, out size_t length, out unowned string etag_out) throws GLib.Error;
public bool load_contents_finish (GLib.AsyncResult res, out string contents, out size_t length, out string etag_out) throws GLib.Error;
public void load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, GLib.AsyncReadyCallback callback);
public bool load_partial_contents_finish (GLib.AsyncResult res, out unowned string contents, size_t length, out unowned string etag_out) throws GLib.Error;
public bool load_partial_contents_finish (GLib.AsyncResult res, out string contents, out size_t length, out string etag_out) throws GLib.Error;
public abstract bool make_directory (GLib.Cancellable? cancellable) throws GLib.Error;
public bool make_directory_with_parents (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable) throws GLib.Error;
......
......@@ -27,8 +27,15 @@ 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_load_contents.contents transfer_ownership="1"
g_file_load_contents.length is_out="1"
g_file_load_contents.etag_out transfer_ownership="1"
g_file_load_contents_finish.contents transfer_ownership="1"
g_file_load_contents_finish.length is_out="1"
g_file_load_contents_finish.etag_out transfer_ownership="1"
g_file_load_partial_contents_finish.contents transfer_ownership="1"
g_file_load_partial_contents_finish.length is_out="1"
g_file_load_partial_contents_finish.etag_out transfer_ownership="1"
GFileMonitor::changed.other_file nullable="1"
g_file_move.progress_callback_data hidden="1"
g_file_new_for_commandline_arg transfer_ownership="1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment