[PATCH 0/2] nm_connection_get_setting() fixes



Pure cleanup patches to make use of
nm_connection_get_setting_<type>() where applicable. 

Thomas Graf (2):
  Use nm_connection_get_setting_<type>() whenever possible
  Add nm_connection_get_setting_serial()

 examples/C/glib/list-connections-libnm-glib.c      |    2 +-
 libnm-glib/nm-device-bt.c                          |    2 +-
 libnm-util/libnm-util.ver                          |    1 +
 libnm-util/nm-connection.c                         |   28 ++-
 libnm-util/nm-connection.h                         |    2 +
 libnm-util/tests/test-general.c                    |    6 +-
 libnm-util/tests/test-secrets.c                    |    4 +-
 src/NetworkManagerUtils.c                          |    6 +-
 src/modem-manager/nm-modem-cdma.c                  |   12 +-
 src/modem-manager/nm-modem-gsm.c                   |   12 +-
 src/modem-manager/nm-modem.c                       |    2 +-
 src/nm-device-bt.c                                 |   18 +-
 src/nm-device-ethernet.c                           |   30 +-
 src/nm-device-olpc-mesh.c                          |    8 +-
 src/nm-device-wifi.c                               |   30 +-
 src/nm-device.c                                    |   28 +-
 src/nm-manager-auth.c                              |    2 +-
 src/nm-manager.c                                   |   12 +-
 src/nm-policy.c                                    |   12 +-
 src/nm-wifi-ap.c                                   |    9 +-
 src/ppp-manager/nm-ppp-manager.c                   |    8 +-
 src/settings/nm-agent-manager.c                    |    2 +-
 src/settings/nm-settings-connection.c              |   10 +-
 src/settings/nm-settings.c                         |    9 +-
 src/settings/plugins/ifcfg-rh/plugin.c             |    2 +-
 src/settings/plugins/ifcfg-rh/reader.c             |    2 +-
 .../plugins/ifcfg-rh/tests/test-ifcfg-rh.c         |  278 ++++++++++----------
 src/settings/plugins/ifcfg-rh/writer.c             |   20 +-
 src/settings/plugins/ifnet/connection_parser.c     |   41 +--
 src/settings/plugins/ifnet/plugin.c                |    3 +-
 src/settings/plugins/ifupdown/parser.c             |    5 +-
 src/settings/plugins/ifupdown/plugin.c             |   12 +-
 src/settings/plugins/keyfile/reader.c              |    4 +-
 src/settings/plugins/keyfile/tests/test-keyfile.c  |   74 +++---
 src/tests/test-wifi-ap-utils.c                     |    8 +-
 src/vpn-manager/nm-vpn-connection.c                |   22 +-
 src/vpn-manager/nm-vpn-manager.c                   |    2 +-
 src/wimax/nm-wimax-nsp.c                           |    2 +-
 test/nm-tool.c                                     |    2 +-
 39 files changed, 366 insertions(+), 366 deletions(-)

-- 
1.7.6.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]