socketclient: annotate the connection param of "event" as nullable
authorPaolo Borelli <pborelli@gnome.org>
Thu, 18 Jun 2015 07:36:12 +0000 (09:36 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Thu, 18 Jun 2015 14:33:31 +0000 (16:33 +0200)
When emitting the RESOLVING/RESOLVED events the connection param is
set to NULL.

gio/gsocketclient.c

index 7b3cf8b..2b339d7 100644 (file)
@@ -767,7 +767,7 @@ g_socket_client_class_init (GSocketClientClass *class)
    * @client: the #GSocketClient
    * @event: the event that is occurring
    * @connectable: the #GSocketConnectable that @event is occurring on
-   * @connection: the current representation of the connection
+   * @connection: (nullable): the current representation of the connection
    *
    * Emitted when @client's activity on @connectable changes state.
    * Among other things, this can be used to provide progress