[glib] gio: Mark callback_data of GFileReadMoreCallback as closure



commit 65e443da65b60928c9ddbb668368260b38d5cc9d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Oct 12 09:26:42 2017 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/giotypes.h b/gio/giotypes.h
index 11e0589..380b9a7 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]