mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
libnm: don't use deprecated tags for GOobject introspection
Top level tags are deprecated in favour of identifier annotations. https://mail.gnome.org/archives/commits-list/2013-October/msg03220.html https://wiki.gnome.org/action/show/Projects/GObjectIntrospection/Annotations?action=show&redirect=GObjectIntrospection%2FAnnotations#Type_signature Signed-off-by: Jiří Klimeš <jklimes@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=744250
This commit is contained in:
parent
03a9bb88aa
commit
aea3593a43
|
@ -977,13 +977,11 @@ nm_setting_bond_class_init (NMSettingBondClass *setting_class)
|
|||
|
||||
/* Properties */
|
||||
/**
|
||||
* NMSettingBond:options:
|
||||
* NMSettingBond:options: (type GHashTable(utf8,utf8)):
|
||||
*
|
||||
* Dictionary of key/value pairs of bonding options. Both keys and values
|
||||
* must be strings. Option names must contain only alphanumeric characters
|
||||
* (ie, [a-zA-Z0-9]).
|
||||
*
|
||||
* Type: GHashTable(utf8,utf8)
|
||||
**/
|
||||
/* ---ifcfg-rh---
|
||||
* property: options
|
||||
|
|
|
@ -945,12 +945,10 @@ nm_setting_vpn_class_init (NMSettingVpnClass *setting_class)
|
|||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* NMSettingVpn:data:
|
||||
* NMSettingVpn:data: (type GHashTable(utf8,utf8)):
|
||||
*
|
||||
* Dictionary of key/value pairs of VPN plugin specific data. Both keys and
|
||||
* values must be strings.
|
||||
*
|
||||
* Type: GHashTable(utf8,utf8)
|
||||
**/
|
||||
/* ---keyfile---
|
||||
* property: data
|
||||
|
@ -972,12 +970,10 @@ nm_setting_vpn_class_init (NMSettingVpnClass *setting_class)
|
|||
_nm_utils_strdict_from_dbus);
|
||||
|
||||
/**
|
||||
* NMSettingVpn:secrets:
|
||||
* NMSettingVpn:secrets: (type GHashTable(utf8,utf8)):
|
||||
*
|
||||
* Dictionary of key/value pairs of VPN plugin specific secrets like
|
||||
* passwords or private keys. Both keys and values must be strings.
|
||||
*
|
||||
* Type: GHashTable(utf8,utf8)
|
||||
**/
|
||||
/* ---keyfile---
|
||||
* property: secrets
|
||||
|
|
|
@ -1363,14 +1363,12 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_wired_class)
|
|||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* NMSettingWired:s390-options:
|
||||
* NMSettingWired:s390-options: (type GHashTable(utf8,utf8)):
|
||||
*
|
||||
* Dictionary of key/value pairs of s390-specific device options. Both keys
|
||||
* and values must be strings. Allowed keys include "portno", "layer2",
|
||||
* "portname", "protocol", among others. Key names must contain only
|
||||
* alphanumeric characters (ie, [a-zA-Z0-9]).
|
||||
*
|
||||
* Type: GHashTable(utf8,utf8)
|
||||
**/
|
||||
/* ---ifcfg-rh---
|
||||
* property: s390-options
|
||||
|
|
|
@ -154,11 +154,9 @@ nm_dhcp_config_class_init (NMDhcpConfigClass *config_class)
|
|||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* NMDhcpConfig:options:
|
||||
* NMDhcpConfig:options: (type GHashTable(utf8,utf8)):
|
||||
*
|
||||
* The #GHashTable containing options of the configuration.
|
||||
*
|
||||
* Type: GLib.HashTable(utf8,utf8)
|
||||
**/
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_OPTIONS,
|
||||
|
|
|
@ -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
|
||||
* @connection: the #NMConnection for which we're asked secrets
|
||||
* @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
|
||||
* existing secrets without user interaction, or requesting entirely new
|
||||
* secrets from the user.
|
||||
*
|
||||
* Virtual: get_secrets
|
||||
*/
|
||||
void
|
||||
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
|
||||
* @connection: a #NMConnection
|
||||
* @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
|
||||
* disk.
|
||||
*
|
||||
* Virtual: save_secrets
|
||||
*/
|
||||
void
|
||||
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
|
||||
* @connection: a #NMConnection
|
||||
* @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
|
||||
* @connection.
|
||||
*
|
||||
* Virtual: delete_secrets
|
||||
*/
|
||||
void
|
||||
nm_secret_agent_old_delete_secrets (NMSecretAgentOld *self,
|
||||
|
|
Loading…
Reference in a new issue