summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-02-10 14:03:20 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-02-10 14:04:29 +0100
commit5d03aafaa20b9e8a272de1c183f8b3a0f60f1e38 (patch)
treea0e4949fb8c109064a7395036e59ef854c6ee31e
parentb9b68ce639ee7a33175a2f765c2d0076d5e300d6 (diff)
downloadNetworkManager-jk/libnm-annotation-fix.tar.gz
libnm-glib: do not use deprecated Gtk-Doc Type: and Virtual: tagsjk/libnm-annotation-fix
-rw-r--r--libnm-glib/nm-client.c3
-rw-r--r--libnm-glib/nm-dhcp4-config.c4
-rw-r--r--libnm-glib/nm-dhcp6-config.c4
-rw-r--r--libnm-glib/nm-secret-agent.c12
4 files changed, 6 insertions, 17 deletions
diff --git a/libnm-glib/nm-client.c b/libnm-glib/nm-client.c
index b9e393d965..fa47e7e222 100644
--- a/libnm-glib/nm-client.c
+++ b/libnm-glib/nm-client.c
@@ -2272,10 +2272,9 @@ nm_client_class_init (NMClientClass *client_class)
G_PARAM_STATIC_STRINGS));
/**
- * NMClient:active-connections:
+ * NMClient:active-connections: (type GPtrArray):
*
* The active connections.
- * Type: GLib.PtrArray
**/
g_object_class_install_property
(object_class, PROP_ACTIVE_CONNECTIONS,
diff --git a/libnm-glib/nm-dhcp4-config.c b/libnm-glib/nm-dhcp4-config.c
index 5847937426..7deab31ee3 100644
--- a/libnm-glib/nm-dhcp4-config.c
+++ b/libnm-glib/nm-dhcp4-config.c
@@ -148,11 +148,9 @@ nm_dhcp4_config_class_init (NMDHCP4ConfigClass *config_class)
/* properties */
/**
- * NMDHCP4Config:options:
+ * NMDHCP4Config:options: (type GHashTable(utf8,GObject.Value)):
*
* The #GHashTable containing options of the configuration.
- *
- * Type: GLib.HashTable(utf8,GObject.Value)
**/
g_object_class_install_property
(object_class, PROP_OPTIONS,
diff --git a/libnm-glib/nm-dhcp6-config.c b/libnm-glib/nm-dhcp6-config.c
index e55c14166e..47d95e9c64 100644
--- a/libnm-glib/nm-dhcp6-config.c
+++ b/libnm-glib/nm-dhcp6-config.c
@@ -148,11 +148,9 @@ nm_dhcp6_config_class_init (NMDHCP6ConfigClass *config_class)
/* properties */
/**
- * NMDHCP6Config:options:
+ * NMDHCP6Config:options: (type GHashTable(utf8,GObject.Value)):
*
* The #GHashTable containing options of the configuration.
- *
- * Type: GLib.HashTable(utf8,GObject.Value)
**/
g_object_class_install_property
(object_class, PROP_OPTIONS,
diff --git a/libnm-glib/nm-secret-agent.c b/libnm-glib/nm-secret-agent.c
index 04f8dd8b1f..1e216ca745 100644
--- a/libnm-glib/nm-secret-agent.c
+++ b/libnm-glib/nm-secret-agent.c
@@ -712,7 +712,7 @@ auto_register_cb (gpointer user_data)
/**************************************************************/
/**
- * nm_secret_agent_get_secrets:
+ * nm_secret_agent_get_secrets: (virtual get_secrets):
* @self: a #NMSecretAgent
* @connection: the #NMConnection for which we're asked secrets
* @setting_name: the name of the secret setting
@@ -726,8 +726,6 @@ auto_register_cb (gpointer user_data)
* agent should use when performing the request, for example returning only
* existing secrets without user interaction, or requesting entirely new
* secrets from the user.
- *
- * Virtual: get_secrets
*/
void
nm_secret_agent_get_secrets (NMSecretAgent *self,
@@ -756,7 +754,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
}
/**
- * nm_secret_agent_save_secrets:
+ * nm_secret_agent_save_secrets: (virtual save_secrets):
* @self: a #NMSecretAgent
* @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done
@@ -764,8 +762,6 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
*
* Asyncronously ensure that all secrets inside @connection
* are stored to disk.
- *
- * Virtual: save_secrets
*/
void
nm_secret_agent_save_secrets (NMSecretAgent *self,
@@ -785,7 +781,7 @@ nm_secret_agent_save_secrets (NMSecretAgent *self,
}
/**
- * nm_secret_agent_delete_secrets:
+ * nm_secret_agent_delete_secrets: (virtual delete_secrets):
* @self: a #NMSecretAgent
* @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done
@@ -793,8 +789,6 @@ nm_secret_agent_save_secrets (NMSecretAgent *self,
*
* Asynchronously ask the agent to delete all saved secrets belonging to
* @connection.
- *
- * Virtual: delete_secrets
*/
void
nm_secret_agent_delete_secrets (NMSecretAgent *self,