[Spice-devel] [PATCH spice-gtk] Fix documentation for spice_main_file_copy_async()
Jonathon Jongsma
jjongsma at redhat.com
Mon Sep 28 09:32:15 PDT 2015
'sources' should be a NULL-terminated array, but the parameter
documentation treats it as if it is a single file object.
---
src/channel-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/channel-main.c b/src/channel-main.c
index 6e66401..2af9e64 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -2999,7 +2999,7 @@ static void file_xfer_send_start_msg_async(SpiceMainChannel *channel,
/**
* spice_main_file_copy_async:
* @channel: a #SpiceMainChannel
- * @sources: #GFile to be transfer
+ * @sources: a %NULL-terminated array of #GFile objects to be transferred
* @flags: set of #GFileCopyFlags
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore
* @progress_callback: (allow-none) (scope call): function to callback with
--
2.1.0
More information about the Spice-devel
mailing list