libnm: remove nm_device_wpan_get_hw_address()

Remove the function from a public header. It was missing from libnm.ver
and thus never actually exported.

There's no point in salvaging it now as it nm_device_get_hw_address()
exists as a better option.
This commit is contained in:
Lubomir Rintel
2022-11-07 23:17:56 +01:00
parent bd3239cf6c
commit ecb9a48040
2 changed files with 0 additions and 23 deletions

View File

@@ -24,25 +24,6 @@ struct _NMDeviceWpanClass {
G_DEFINE_TYPE(NMDeviceWpan, nm_device_wpan, NM_TYPE_DEVICE)
/*****************************************************************************/
/**
* nm_device_wpan_get_hw_address: (skip)
* @device: a #NMDeviceWpan
*
* Gets the active hardware (MAC) address of the #NMDeviceWpan
*
* Returns: the active hardware address. This is the internal string used by the
* device, and must not be modified.
*
* Deprecated: 1.24: Use nm_device_get_hw_address() instead.
**/
const char *
nm_device_wpan_get_hw_address(NMDeviceWpan *device)
{
g_return_val_if_fail(NM_IS_DEVICE_WPAN(device), NULL);
return nm_device_get_hw_address(NM_DEVICE(device));
}
static gboolean
connection_compatible(NMDevice *device, NMConnection *connection, GError **error)
{

View File

@@ -34,10 +34,6 @@ typedef struct _NMDeviceWpanClass NMDeviceWpanClass;
NM_AVAILABLE_IN_1_14
GType nm_device_wpan_get_type(void);
NM_AVAILABLE_IN_1_14
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
const char *nm_device_wpan_get_hw_address(NMDeviceWpan *device);
G_END_DECLS
#endif /* __NM_DEVICE_WPAN_H__ */