libnm: fix deprecated annotations

This commit is contained in:
Thomas Haller
2023-03-14 08:14:10 +01:00
parent f2eae12c84
commit 2c8792e945
6 changed files with 6 additions and 6 deletions

View File

@@ -385,7 +385,7 @@ nm_active_connection_get_vpn(NMActiveConnection *connection)
*
* Returns: (transfer none): the master #NMDevice of the #NMActiveConnection.
*
* Deprecated: 1.44. Use nm_active_connection_get_controller() instead.
* Deprecated: 1.44: Use nm_active_connection_get_controller() instead.
**/
NMDevice *
nm_active_connection_get_master(NMActiveConnection *connection)

View File

@@ -82,7 +82,7 @@ nm_device_bond_get_carrier(NMDeviceBond *device)
* #NMDevices that are slaves of @device. This is the internal
* copy used by the device, and must not be modified.
*
* Deprecated: 1.34 Use nm_device_get_ports() instead.
* Deprecated: 1.34: Use nm_device_get_ports() instead.
**/
const GPtrArray *
nm_device_bond_get_slaves(NMDeviceBond *device)

View File

@@ -82,7 +82,7 @@ nm_device_bridge_get_carrier(NMDeviceBridge *device)
* #NMDevices that are slaves of @device. This is the internal
* copy used by the device, and must not be modified.
*
* Deprecated: 1.34 Use nm_device_get_ports() instead.
* Deprecated: 1.34: Use nm_device_get_ports() instead.
**/
const GPtrArray *
nm_device_bridge_get_slaves(NMDeviceBridge *device)

View File

@@ -44,7 +44,7 @@ G_DEFINE_TYPE(NMDeviceOvsBridge, nm_device_ovs_bridge, NM_TYPE_DEVICE)
*
* Since: 1.14
*
* Deprecated: 1.34 Use nm_device_get_ports() instead.
* Deprecated: 1.34: Use nm_device_get_ports() instead.
**/
const GPtrArray *
nm_device_ovs_bridge_get_slaves(NMDeviceOvsBridge *device)

View File

@@ -44,7 +44,7 @@ G_DEFINE_TYPE(NMDeviceOvsPort, nm_device_ovs_port, NM_TYPE_DEVICE)
*
* Since: 1.14
*
* Deprecated: 1.34 Use nm_device_get_ports() instead.
* Deprecated: 1.34: Use nm_device_get_ports() instead.
**/
const GPtrArray *
nm_device_ovs_port_get_slaves(NMDeviceOvsPort *device)

View File

@@ -83,7 +83,7 @@ nm_device_team_get_carrier(NMDeviceTeam *device)
* #NMDevices that are slaves of @device. This is the internal
* copy used by the device, and must not be modified.
*
* Deprecated: 1.34 Use nm_device_get_ports() instead.
* Deprecated: 1.34: Use nm_device_get_ports() instead.
**/
const GPtrArray *
nm_device_team_get_slaves(NMDeviceTeam *device)