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

Pavel Grunt pgrunt at redhat.com
Mon Sep 28 22:41:42 PDT 2015


Ack.

Pavel

On Mon, 2015-09-28 at 11:32 -0500, Jonathon Jongsma wrote:
> '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


More information about the Spice-devel mailing list