[glib] socketclient: annotate the connection param of "event" as nullable
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] socketclient: annotate the connection param of "event" as nullable
- Date: Thu, 18 Jun 2015 14:33:48 +0000 (UTC)
commit 9e85f60ec68eb0330e18254726facdc5d8983e35
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Jun 18 09:36:12 2015 +0200
socketclient: annotate the connection param of "event" as nullable
When emitting the RESOLVING/RESOLVED events the connection param is
set to NULL.
gio/gsocketclient.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
index 7b3cf8b..2b339d7 100644
--- a/gio/gsocketclient.c
+++ b/gio/gsocketclient.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]