socketclient: annotate the connection param of "event" as nullable

When emitting the RESOLVING/RESOLVED events the connection param is
set to NULL.
This commit is contained in:
Paolo Borelli 2015-06-18 09:36:12 +02:00
parent f5d4543139
commit 9e85f60ec6

View File

@ -767,7 +767,7 @@ g_socket_client_class_init (GSocketClientClass *class)
* @client: the #GSocketClient * @client: the #GSocketClient
* @event: the event that is occurring * @event: the event that is occurring
* @connectable: the #GSocketConnectable that @event is occurring on * @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. * Emitted when @client's activity on @connectable changes state.
* Among other things, this can be used to provide progress * Among other things, this can be used to provide progress