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

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 23 09:14:24 UTC 2021


 src/channel-main.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 7f1c4578beebf1cd17a285523363704a98c202d0
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Fri Apr 23 00:13:00 2021 +0400

    main: annotate some signal pointers
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>

diff --git a/src/channel-main.c b/src/channel-main.c
index fcf6252..7f71258 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -646,7 +646,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
      * SpiceMainChannel::main-clipboard:
      * @main: the #SpiceMainChannel that emitted the signal
      * @type: the VD_AGENT_CLIPBOARD data type
-     * @data: clipboard data
+     * @data: (element-type guint8) (array length=size): clipboard data
      * @size: size of @data in bytes
      *
      * Provides guest clipboard data requested by spice_main_clipboard_request().
@@ -669,7 +669,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
      * @main: the #SpiceMainChannel that emitted the signal
      * @selection: a VD_AGENT_CLIPBOARD_SELECTION clipboard
      * @type: the VD_AGENT_CLIPBOARD data type
-     * @data: clipboard data
+     * @data: (element-type guint8) (array length=size): clipboard data
      * @size: size of @data in bytes
      *
      * Informs that clipboard selection data are available.
@@ -690,7 +690,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
     /**
      * SpiceMainChannel::main-clipboard-grab:
      * @main: the #SpiceMainChannel that emitted the signal
-     * @types: the VD_AGENT_CLIPBOARD data types
+     * @types: (element-type guint32) (array length=ntypes): the VD_AGENT_CLIPBOARD data types
      * @ntypes: the number of @types
      *
      * Inform when clipboard data is available from the guest, and for
@@ -713,7 +713,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
      * SpiceMainChannel::main-clipboard-selection-grab:
      * @main: the #SpiceMainChannel that emitted the signal
      * @selection: a VD_AGENT_CLIPBOARD_SELECTION clipboard
-     * @types: the VD_AGENT_CLIPBOARD data types
+     * @types: (element-type guint32) (array length=ntypes): the VD_AGENT_CLIPBOARD data types
      * @ntypes: the number of @types
      *
      * Inform when clipboard data is available from the guest, and for


More information about the Spice-commits mailing list