summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-12-20 00:41:36 -0500
committerPatrick Griffis <tingping@tingping.se>2017-06-02 13:44:16 -0400
commit7c5cd293d02d8650973c397b515b5d4a88ba0f80 (patch)
treeed72e751c48e881b2f70699fa342ac78d671ce24
parente4e83bff7282348387c7fe3fae5dad80aebaf096 (diff)
downloadglib-7c5cd293d02d8650973c397b515b5d4a88ba0f80.tar.gz
Fix g_file_copy_async() annotation
https://bugzilla.gnome.org/show_bug.cgi?id=776333
-rw-r--r--gio/gfile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gio/gfile.c b/gio/gfile.c
index 73b64d85b..212d3e0ef 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -3402,18 +3402,18 @@ g_file_copy (GFile *source,
}
/**
- * g_file_copy_async: (skip)
+ * g_file_copy_async:
* @source: input #GFile
* @destination: destination #GFile
* @flags: set of #GFileCopyFlags
* @io_priority: the [I/O priority][io-priority] of the request
* @cancellable: (nullable): optional #GCancellable object,
* %NULL to ignore
- * @progress_callback: (nullable): function to callback with progress
+ * @progress_callback: (nullable) (scope notified): function to callback with progress
* information, or %NULL if progress information is not needed
- * @progress_callback_data: (closure): user data to pass to @progress_callback
- * @callback: a #GAsyncReadyCallback to call when the request is satisfied
- * @user_data: the data to pass to callback function
+ * @progress_callback_data: (closure progress_callback) (nullable): user data to pass to @progress_callback
+ * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+ * @user_data: (closure callback): the data to pass to callback function
*
* Copies the file @source to the location specified by @destination
* asynchronously. For details of the behaviour, see g_file_copy().