[glib] Fix g_file_copy_async() annotation
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix g_file_copy_async() annotation
- Date: Fri, 2 Jun 2017 17:45:03 +0000 (UTC)
commit 7c5cd293d02d8650973c397b515b5d4a88ba0f80
Author: Patrick Griffis <tingping tingping se>
Date: Tue Dec 20 00:41:36 2016 -0500
Fix g_file_copy_async() annotation
https://bugzilla.gnome.org/show_bug.cgi?id=776333
gio/gfile.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 73b64d8..212d3e0 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().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]