[gtk-vnc] connection: annotate vnc-cursor-changed can be NULL



commit 6f36d1c09aef9765fe4446df4844825cd10f7ddf
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Tue Apr 6 15:09:26 2021 +0400

    connection: annotate vnc-cursor-changed can be NULL
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 src/vncconnection.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 8072112..b892920 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -5227,6 +5227,13 @@ static void vnc_connection_class_init(VncConnectionClass *klass)
                                                         G_PARAM_STATIC_NICK |
                                                         G_PARAM_STATIC_BLURB));
 
+    /**
+     * VncConnection::vnc-cursor-changed:
+     * @connection: the connection on which the signal is emitted
+     * @cursor: (nullable): the new cursor
+     *
+     * Emitted when the cursor is changed.
+     */
     signals[VNC_CURSOR_CHANGED] =
         g_signal_new ("vnc-cursor-changed",
                       G_OBJECT_CLASS_TYPE (object_class),


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