From 65e443da65b60928c9ddbb668368260b38d5cc9d Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 12 Oct 2017 09:26:42 +0200 Subject: [PATCH] gio: Mark callback_data of GFileReadMoreCallback as closure In conjunction with 77fbc10da658652f47b32b070f625020b671bea1 https://bugzilla.gnome.org/show_bug.cgi?id=629347 --- gio/giotypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/giotypes.h b/gio/giotypes.h index 11e058975..380b9a7ee 100644 --- a/gio/giotypes.h +++ b/gio/giotypes.h @@ -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.