diff options
author | Dan Williams <dcbw@redhat.com> | 2007-10-03 18:20:35 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-10-03 18:20:35 +0000 |
commit | fc8130ddd07fe93f0b8b262901d763a5c902f1e9 (patch) | |
tree | d97386bcd09d472ff9caa1e2bc595b978f1ffa7b /libnm-glib/libnm-glib-test.c | |
parent | f9fd8667d131bb6334e9eaa07a49bce567cb43d9 (diff) |
2007-10-03 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
src/nm-device-802-11-wireless.h
introspection/nm-device-802-11-wireless.xml
- GetActiveNetworks -> GetAccessPoints
- ActiveNetwork -> ActiveAccessPoint
- NetworkAdded -> AccessPointAdded
- NetowrkRemoved -> AccessPointRemoved
* libnm-glib/nm-device-802-11-wireless.c
libnm-glib/nm-device-802-11-wireless.h
- network-added signal -> access-point-added
- network-removed signal -> access-point-removed
- nm_device_802_11_wireless_get_active_network() ->
nm_device_802_11_wireless_get_active_access_point()
- nm_device_802_11_wireless_get_network_by_path() ->
nm_device_802_11_wireless_get_access_point_by_path()
- nm_device_802_11_wireless_get_networks() ->
nm_device_802_11_wireless_get_access_points()
* libnm-glib/libnm-glib-test.c
test/nm-tool.c
src/NetworkManagerPolicy.c
- Fixups for Network -> AccessPoint
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2928 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/libnm-glib-test.c')
-rw-r--r-- | libnm-glib/libnm-glib-test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libnm-glib/libnm-glib-test.c b/libnm-glib/libnm-glib-test.c index 8f99cba71..bd7d1d423 100644 --- a/libnm-glib/libnm-glib-test.c +++ b/libnm-glib/libnm-glib-test.c @@ -191,7 +191,7 @@ dump_wireless (NMDevice80211Wireless *device) { char *str; GSList *iter; - GSList *networks; + GSList *aps; g_print ("Mode: %d\n", nm_device_802_11_wireless_get_mode (device)); g_print ("Bitrate: %d\n", nm_device_802_11_wireless_get_bitrate (device)); @@ -200,15 +200,15 @@ dump_wireless (NMDevice80211Wireless *device) g_print ("MAC: %s\n", str); g_free (str); - g_print ("Networks:\n"); - networks = nm_device_802_11_wireless_get_networks (device); - for (iter = networks; iter; iter = iter->next) { + g_print ("AccessPoints:\n"); + aps = nm_device_802_11_wireless_get_access_points (device); + for (iter = aps; iter; iter = iter->next) { dump_access_point (NM_ACCESS_POINT (iter->data)); g_print ("\n"); } - g_slist_foreach (networks, (GFunc) g_object_unref, NULL); - g_slist_free (networks); + g_slist_foreach (aps, (GFunc) g_object_unref, NULL); + g_slist_free (aps); } static void |