diff options
author | Thomas Haller <thaller@redhat.com> | 2014-06-07 11:01:02 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-07 11:19:02 +0200 |
commit | b6337115726b3f58ddb77e5c231c11ec162809f7 (patch) | |
tree | 339b8904dbbdae917e2d6676ac1d697711d58eb4 /libnm-glib/libnm-glib-test.c | |
parent | 8366d7cd1be1067ece6600dbcf47fd35a9327da2 (diff) | |
download | NetworkManager-b6337115726b3f58ddb77e5c231c11ec162809f7.tar.gz |
libnm-glib: don't use deprecated nm_access_point_get_hw_address()
nm_access_point_get_hw_address() is already deprecated since
pre-0.9.0-beta3 (f30e15a04d56a922f50e20c3c155a452d635a187). However,
it also is defined as NM_DEPRECATED_IN_0_9_10, because there
are no deprecated macros for previous version.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnm-glib/libnm-glib-test.c')
-rw-r--r-- | libnm-glib/libnm-glib-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-glib/libnm-glib-test.c b/libnm-glib/libnm-glib-test.c index 36520f50c3..e38457f06b 100644 --- a/libnm-glib/libnm-glib-test.c +++ b/libnm-glib/libnm-glib-test.c @@ -173,7 +173,7 @@ dump_access_point (NMAccessPoint *ap) g_print ("\tSsid: %s\n", ssid ? nm_utils_escape_ssid (ssid->data, ssid->len) : "(none)"); - str = nm_access_point_get_hw_address (ap); + str = nm_access_point_get_bssid (ap); g_print ("\tMAC Address: %s\n", str); g_print ("\tFlags: 0x%X\n", nm_access_point_get_flags (ap)); |