[Spice-devel] [PATCH] channel-main: add missing annotation
Visarion-Mingopol Alexandru
viorel.visarion at gmail.com
Thu Jun 16 07:59:37 UTC 2016
Without (array zero-terminated=1), one null terminated array
parameter is translated into a single element, so its binding
isn't usable.
---
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 efe7f4e..6a6ed40 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -3132,7 +3132,7 @@ static void file_xfer_send_start_msg_async(SpiceMainChannel *channel,
/**
* spice_main_file_copy_async:
* @channel: a #SpiceMainChannel
- * @sources: a %NULL-terminated array of #GFile objects to be transferred
+ * @sources: (array zero-terminated=1): 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.5.5
More information about the Spice-devel
mailing list