From 3b57350dd6d1f1b48119eb66dc170aaf2aef1dc3 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 21 Feb 2011 18:08:41 -0600 Subject: [PATCH] libnm-glib: add signal documentation for NMRemoteConnection --- libnm-glib/nm-remote-connection.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libnm-glib/nm-remote-connection.c b/libnm-glib/nm-remote-connection.c index 09c7112596..2a366a6127 100644 --- a/libnm-glib/nm-remote-connection.c +++ b/libnm-glib/nm-remote-connection.c @@ -480,6 +480,13 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class) G_PARAM_READABLE)); /* Signals */ + /** + * NMRemoteConnection::updated: + * @connection: a #NMConnection + * + * This signal is emitted when a connection changes, and it is + * still visible to the user. + */ signals[UPDATED] = g_signal_new (NM_REMOTE_CONNECTION_UPDATED, G_TYPE_FROM_CLASS (remote_class), @@ -489,6 +496,13 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class) g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * NMRemoteConnection::removed: + * @connection: a #NMConnection + * + * This signal is emitted when a connection is either deleted or becomes + * invisible to the current user. + */ signals[REMOVED] = g_signal_new (NM_REMOTE_CONNECTION_REMOVED, G_TYPE_FROM_CLASS (remote_class), @@ -498,6 +512,7 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class) g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /* Private signal */ signals[VISIBLE] = g_signal_new ("visible", G_TYPE_FROM_CLASS (remote_class),