gio: Mark callback_data of GFileReadMoreCallback as closure

In conjunction with 77fbc10da6

https://bugzilla.gnome.org/show_bug.cgi?id=629347
This commit is contained in:
Rico Tzschichholz 2017-10-12 09:26:42 +02:00 committed by Philip Withnall
parent b5e7e39395
commit 65e443da65

View File

@ -288,7 +288,7 @@ typedef void (*GFileProgressCallback) (goffset current_num_bytes,
* GFileReadMoreCallback:
* @file_contents: the data as currently read.
* @file_size: the size of the data currently read.
* @callback_data: data passed to the callback.
* @callback_data: (closure): data passed to the callback.
*
* When loading the partial contents of a file with g_file_load_partial_contents_async(),
* it may become necessary to determine if any more data from the file should be loaded.