libnm: change GSList to GPtrArray in libnm methods
authorDan Winship <danw@gnome.org>
Wed, 22 Oct 2014 16:32:46 +0000 (12:32 -0400)
committerDan Winship <danw@gnome.org>
Tue, 28 Oct 2014 21:17:17 +0000 (17:17 -0400)
commit6ae422485004485afd0a64f00e75c17fa5084b2e
treed364cd6dcd8f63e7aaba1666e3f8db41c2890378
parent9e5c7d915b837e79a2f6d64a7d89bf2a2dec2f50
libnm: change GSList to GPtrArray in libnm methods

libnm mostly used GPtrArrays in its APIs, except that arrays of
connections were usually GSLists. Fix this and make them GPtrArrays
too (and rename nm_client_list_connections() to
nm_client_get_connections() to match everything else).
23 files changed:
clients/cli/common.c
clients/cli/common.h
clients/cli/connections.c
clients/cli/nmcli.c
clients/cli/nmcli.h
clients/tui/nm-editor-utils.c
clients/tui/nmt-connect-connection-list.c
clients/tui/nmt-edit-connection-list.c
clients/tui/nmt-edit-connection-list.h
clients/tui/nmtui-edit.c
examples/C/glib/list-connections-libnm.c
libnm/libnm.ver
libnm/nm-access-point.c
libnm/nm-access-point.h
libnm/nm-client.c
libnm/nm-client.h
libnm/nm-device.c
libnm/nm-device.h
libnm/nm-remote-settings.c
libnm/nm-remote-settings.h
libnm/nm-wimax-nsp.c
libnm/nm-wimax-nsp.h
libnm/tests/test-remote-settings-client.c