[Spice-commits] src/channel-main.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Fri Jun 17 12:03:47 UTC 2016

 src/channel-main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 088b15742e239c93b0ef324a5c3f940556508647
Author: Alexandru Visarion <viorel.visarion at gmail.com>
Date:   Thu Jun 16 10:59:37 2016 +0300

    channel-main: Fix spice_main_file_copy_async annotation
    Without (array zero-terminated=1), one null terminated array
    parameter is translated into a single element, so its binding
    isn't usable.
    Acked-by: Pavel Grunt <pgrunt at redhat.com>

diff --git a/src/channel-main.c b/src/channel-main.c
index 2d717c5..1f27181 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -3141,7 +3141,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

More information about the Spice-commits mailing list