[PATCH spice-gtk] Fix documentation for spice_main_file_copy_async()

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

 



'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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]