summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-09-28 11:02:27 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2015-09-28 11:02:27 -0500
commit75253b7a8fb8fa59c317abeb01b4fa3981597d9e (patch)
treef684b6e32e902cdf3280516db802fc2a80f9e4c9
parent6c323ca9fd13937e8557d55cec8898a6259a125f (diff)
downloadspice-gtk-75253b7a8fb8fa59c317abeb01b4fa3981597d9e.tar.gz
spice-gtk-75253b7a8fb8fa59c317abeb01b4fa3981597d9e.tar.xz
spice-gtk-75253b7a8fb8fa59c317abeb01b4fa3981597d9e.zip
Fix documentation for spice_main_file_copy_async()
'sources' should be a NULL-terminated array, but the parameter documentation treats it as if it is a single file object.
-rw-r--r--src/channel-main.c2
1 files changed, 1 insertions, 1 deletions
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