libnm: fix API version annotation for nm_setting_connection_get_mud_url()

This commit is contained in:
Thomas Haller 2020-04-24 09:20:25 +02:00
parent b775dda928
commit de2062c08d
2 changed files with 4 additions and 2 deletions

View file

@ -758,8 +758,9 @@ nm_setting_connection_get_secondary (NMSettingConnection *setting, guint32 idx)
* *
* Returns the value contained in the #NMSettingConnection:mud-url * Returns the value contained in the #NMSettingConnection:mud-url
* property. * property.
*
* Since: 1.26
**/ **/
const char * const char *
nm_setting_connection_get_mud_url (NMSettingConnection *setting) nm_setting_connection_get_mud_url (NMSettingConnection *setting)
{ {
@ -2327,6 +2328,7 @@ nm_setting_connection_class_init (NMSettingConnectionClass *klass)
* to manufacturer-recommended network policies for IoT devices. It is transmitted * to manufacturer-recommended network policies for IoT devices. It is transmitted
* as a DHCPv4 or DHCPv6 option. * as a DHCPv4 or DHCPv6 option.
* *
* Since: 1.26
**/ **/
/* ---ifcfg-rh--- /* ---ifcfg-rh---
* property: mud-url * property: mud-url
@ -2336,7 +2338,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *klass)
* example: https://yourdevice.example.com/model.json * example: https://yourdevice.example.com/model.json
* ---end--- * ---end---
*/ */
obj_properties[PROP_MUD_URL] = obj_properties[PROP_MUD_URL] =
g_param_spec_string (NM_SETTING_CONNECTION_MUD_URL, "", "", g_param_spec_string (NM_SETTING_CONNECTION_MUD_URL, "", "",
NULL, NULL,

View file

@ -205,6 +205,7 @@ NMSettingConnectionLlmnr nm_setting_connection_get_llmnr (NMSettingConnection *
NM_AVAILABLE_IN_1_20 NM_AVAILABLE_IN_1_20
gint32 nm_setting_connection_get_wait_device_timeout (NMSettingConnection *setting); gint32 nm_setting_connection_get_wait_device_timeout (NMSettingConnection *setting);
NM_AVAILABLE_IN_1_26
const char *nm_setting_connection_get_mud_url (NMSettingConnection *setting); const char *nm_setting_connection_get_mud_url (NMSettingConnection *setting);
G_END_DECLS G_END_DECLS