libnm: don't use deprecated tags for GOobject introspection

https://bugzilla.gnome.org/show_bug.cgi?id=744250
https://bugzilla.gnome.org/show_bug.cgi?id=794658
This commit is contained in:
Thomas Haller
2018-03-26 12:49:15 +02:00
9 changed files with 14 additions and 31 deletions

View File

@@ -977,7 +977,7 @@ nm_setting_bond_class_init (NMSettingBondClass *setting_class)
/* Properties */ /* Properties */
/** /**
* NMSettingBond:options: (type GHashTable(utf8,utf8)) * NMSettingBond:options: (type GHashTable(utf8,utf8)):
* *
* Dictionary of key/value pairs of bonding options. Both keys and values * Dictionary of key/value pairs of bonding options. Both keys and values
* must be strings. Option names must contain only alphanumeric characters * must be strings. Option names must contain only alphanumeric characters

View File

@@ -945,7 +945,7 @@ nm_setting_vpn_class_init (NMSettingVpnClass *setting_class)
G_PARAM_STATIC_STRINGS)); G_PARAM_STATIC_STRINGS));
/** /**
* NMSettingVpn:data: (type GHashTable(utf8,utf8)) * NMSettingVpn:data: (type GHashTable(utf8,utf8)):
* *
* Dictionary of key/value pairs of VPN plugin specific data. Both keys and * Dictionary of key/value pairs of VPN plugin specific data. Both keys and
* values must be strings. * values must be strings.
@@ -970,7 +970,7 @@ nm_setting_vpn_class_init (NMSettingVpnClass *setting_class)
_nm_utils_strdict_from_dbus); _nm_utils_strdict_from_dbus);
/** /**
* NMSettingVpn:secrets: (type GHashTable(utf8,utf8)) * NMSettingVpn:secrets: (type GHashTable(utf8,utf8)):
* *
* Dictionary of key/value pairs of VPN plugin specific secrets like * Dictionary of key/value pairs of VPN plugin specific secrets like
* passwords or private keys. Both keys and values must be strings. * passwords or private keys. Both keys and values must be strings.

View File

@@ -1363,7 +1363,7 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_wired_class)
G_PARAM_STATIC_STRINGS)); G_PARAM_STATIC_STRINGS));
/** /**
* NMSettingWired:s390-options: (type GHashTable(utf8,utf8)) * NMSettingWired:s390-options: (type GHashTable(utf8,utf8)):
* *
* Dictionary of key/value pairs of s390-specific device options. Both keys * Dictionary of key/value pairs of s390-specific device options. Both keys
* and values must be strings. Allowed keys include "portno", "layer2", * and values must be strings. Allowed keys include "portno", "layer2",

View File

@@ -2329,10 +2329,9 @@ nm_client_class_init (NMClientClass *client_class)
G_PARAM_STATIC_STRINGS)); G_PARAM_STATIC_STRINGS));
/** /**
* NMClient:active-connections: * NMClient:active-connections: (type GPtrArray):
* *
* The active connections. * The active connections.
* Type: GLib.PtrArray
**/ **/
g_object_class_install_property g_object_class_install_property
(object_class, PROP_ACTIVE_CONNECTIONS, (object_class, PROP_ACTIVE_CONNECTIONS,

View File

@@ -148,11 +148,9 @@ nm_dhcp4_config_class_init (NMDHCP4ConfigClass *config_class)
/* properties */ /* properties */
/** /**
* NMDHCP4Config:options: * NMDHCP4Config:options: (type GHashTable(utf8,GObject.Value)):
* *
* The #GHashTable containing options of the configuration. * The #GHashTable containing options of the configuration.
*
* Type: GLib.HashTable(utf8,GObject.Value)
**/ **/
g_object_class_install_property g_object_class_install_property
(object_class, PROP_OPTIONS, (object_class, PROP_OPTIONS,

View File

@@ -148,11 +148,9 @@ nm_dhcp6_config_class_init (NMDHCP6ConfigClass *config_class)
/* properties */ /* properties */
/** /**
* NMDHCP6Config:options: * NMDHCP6Config:options: (type GHashTable(utf8,GObject.Value)):
* *
* The #GHashTable containing options of the configuration. * The #GHashTable containing options of the configuration.
*
* Type: GLib.HashTable(utf8,GObject.Value)
**/ **/
g_object_class_install_property g_object_class_install_property
(object_class, PROP_OPTIONS, (object_class, PROP_OPTIONS,

View File

@@ -695,7 +695,7 @@ auto_register_cb (gpointer user_data)
/*****************************************************************************/ /*****************************************************************************/
/** /**
* nm_secret_agent_get_secrets: * nm_secret_agent_get_secrets: (virtual get_secrets):
* @self: a #NMSecretAgent * @self: a #NMSecretAgent
* @connection: the #NMConnection for which we're asked secrets * @connection: the #NMConnection for which we're asked secrets
* @setting_name: the name of the secret setting * @setting_name: the name of the secret setting
@@ -709,8 +709,6 @@ auto_register_cb (gpointer user_data)
* agent should use when performing the request, for example returning only * agent should use when performing the request, for example returning only
* existing secrets without user interaction, or requesting entirely new * existing secrets without user interaction, or requesting entirely new
* secrets from the user. * secrets from the user.
*
* Virtual: get_secrets
*/ */
void void
nm_secret_agent_get_secrets (NMSecretAgent *self, nm_secret_agent_get_secrets (NMSecretAgent *self,
@@ -739,7 +737,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
} }
/** /**
* nm_secret_agent_save_secrets: * nm_secret_agent_save_secrets: (virtual save_secrets):
* @self: a #NMSecretAgent * @self: a #NMSecretAgent
* @connection: a #NMConnection * @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done * @callback: (scope async): a callback, to be invoked when the operation is done
@@ -747,8 +745,6 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
* *
* Asyncronously ensure that all secrets inside @connection * Asyncronously ensure that all secrets inside @connection
* are stored to disk. * are stored to disk.
*
* Virtual: save_secrets
*/ */
void void
nm_secret_agent_save_secrets (NMSecretAgent *self, nm_secret_agent_save_secrets (NMSecretAgent *self,
@@ -768,7 +764,7 @@ nm_secret_agent_save_secrets (NMSecretAgent *self,
} }
/** /**
* nm_secret_agent_delete_secrets: * nm_secret_agent_delete_secrets: (virtual delete_secrets):
* @self: a #NMSecretAgent * @self: a #NMSecretAgent
* @connection: a #NMConnection * @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done * @callback: (scope async): a callback, to be invoked when the operation is done
@@ -776,8 +772,6 @@ nm_secret_agent_save_secrets (NMSecretAgent *self,
* *
* Asynchronously ask the agent to delete all saved secrets belonging to * Asynchronously ask the agent to delete all saved secrets belonging to
* @connection. * @connection.
*
* Virtual: delete_secrets
*/ */
void void
nm_secret_agent_delete_secrets (NMSecretAgent *self, nm_secret_agent_delete_secrets (NMSecretAgent *self,

View File

@@ -154,7 +154,7 @@ nm_dhcp_config_class_init (NMDhcpConfigClass *config_class)
G_PARAM_STATIC_STRINGS)); G_PARAM_STATIC_STRINGS));
/** /**
* NMDhcpConfig:options: (type GHashTable(utf8,utf8)) * NMDhcpConfig:options: (type GHashTable(utf8,utf8)):
* *
* The #GHashTable containing options of the configuration. * The #GHashTable containing options of the configuration.
**/ **/

View File

@@ -882,7 +882,7 @@ nm_secret_agent_old_get_registered (NMSecretAgentOld *self)
/*****************************************************************************/ /*****************************************************************************/
/** /**
* nm_secret_agent_old_get_secrets: * nm_secret_agent_old_get_secrets: (virtual get_secrets):
* @self: a #NMSecretAgentOld * @self: a #NMSecretAgentOld
* @connection: the #NMConnection for which we're asked secrets * @connection: the #NMConnection for which we're asked secrets
* @setting_name: the name of the secret setting * @setting_name: the name of the secret setting
@@ -896,8 +896,6 @@ nm_secret_agent_old_get_registered (NMSecretAgentOld *self)
* agent should use when performing the request, for example returning only * agent should use when performing the request, for example returning only
* existing secrets without user interaction, or requesting entirely new * existing secrets without user interaction, or requesting entirely new
* secrets from the user. * secrets from the user.
*
* Virtual: get_secrets
*/ */
void void
nm_secret_agent_old_get_secrets (NMSecretAgentOld *self, nm_secret_agent_old_get_secrets (NMSecretAgentOld *self,
@@ -928,7 +926,7 @@ nm_secret_agent_old_get_secrets (NMSecretAgentOld *self,
} }
/** /**
* nm_secret_agent_old_save_secrets: * nm_secret_agent_old_save_secrets: (virtual save_secrets):
* @self: a #NMSecretAgentOld * @self: a #NMSecretAgentOld
* @connection: a #NMConnection * @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done * @callback: (scope async): a callback, to be invoked when the operation is done
@@ -936,8 +934,6 @@ nm_secret_agent_old_get_secrets (NMSecretAgentOld *self,
* *
* Asynchronously ensures that all secrets inside @connection are stored to * Asynchronously ensures that all secrets inside @connection are stored to
* disk. * disk.
*
* Virtual: save_secrets
*/ */
void void
nm_secret_agent_old_save_secrets (NMSecretAgentOld *self, nm_secret_agent_old_save_secrets (NMSecretAgentOld *self,
@@ -957,7 +953,7 @@ nm_secret_agent_old_save_secrets (NMSecretAgentOld *self,
} }
/** /**
* nm_secret_agent_old_delete_secrets: * nm_secret_agent_old_delete_secrets: (virtual delete_secrets):
* @self: a #NMSecretAgentOld * @self: a #NMSecretAgentOld
* @connection: a #NMConnection * @connection: a #NMConnection
* @callback: (scope async): a callback, to be invoked when the operation is done * @callback: (scope async): a callback, to be invoked when the operation is done
@@ -965,8 +961,6 @@ nm_secret_agent_old_save_secrets (NMSecretAgentOld *self,
* *
* Asynchronously asks the agent to delete all saved secrets belonging to * Asynchronously asks the agent to delete all saved secrets belonging to
* @connection. * @connection.
*
* Virtual: delete_secrets
*/ */
void void
nm_secret_agent_old_delete_secrets (NMSecretAgentOld *self, nm_secret_agent_old_delete_secrets (NMSecretAgentOld *self,