summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-11-21 14:04:08 +0100
committerThomas Haller <thaller@redhat.com>2018-11-21 14:09:04 +0100
commit1994f200ce8bd9048bc54484034dc2132e80283a (patch)
treee63e50874c0a634ea380d596a7ae58cc045678f8
parent3a282cb2b9257088ed0ce35d9641c485bf861ce5 (diff)
downloadNetworkManager-1994f200ce8bd9048bc54484034dc2132e80283a.tar.gz
libnm/doc: document NMActiveConnection::state-changed signal
-rw-r--r--libnm/nm-active-connection.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libnm/nm-active-connection.c b/libnm/nm-active-connection.c
index 0314667fd4..5b238b3bcc 100644
--- a/libnm/nm-active-connection.c
+++ b/libnm/nm-active-connection.c
@@ -795,7 +795,12 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class)
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
- /* signals */
+ /**
+ * NMActiveConnection::state-changed:
+ * @active_connection: the source #NMActiveConnection
+ * @state: the new state number (#NMActiveConnectionState)
+ * @reason: the state change reason (#NMActiveConnectionStateReason)
+ */
signals[STATE_CHANGED] =
g_signal_new ("state-changed",
G_OBJECT_CLASS_TYPE (object_class),