libnm-core, settings: move NMSettingsError to nm-errors
authorDan Winship <danw@gnome.org>
Wed, 15 Oct 2014 19:27:25 +0000 (15:27 -0400)
committerDan Winship <danw@gnome.org>
Wed, 22 Oct 2014 12:29:09 +0000 (08:29 -0400)
commit3be53899faaa11dd0094626acccff72d93872e79
tree51de77943c2ebee161cc2373dd7fc1f8f43579d3
parent115f8bead84d80f4d2f111c1701e9995c702d60a
libnm-core, settings: move NMSettingsError to nm-errors

Move the definition of NMSettingsError to nm-errors, register it with
D-Bus, and verify in the tests that it maps correctly.

Remove a few unused error codes, simplify a few others, and rename
GENERAL to FAILED and HOSTNAME_INVALID to INVALID_HOSTNAME, for
consistency.
14 files changed:
libnm-core/nm-errors.c
libnm-core/nm-errors.h
libnm/libnm.ver
libnm/tests/test-remote-settings-client.c
src/Makefile.am
src/settings/nm-settings-connection.c
src/settings/nm-settings-error.c [deleted file]
src/settings/nm-settings-error.h [deleted file]
src/settings/nm-settings.c
src/settings/plugins/ibft/plugin.c
src/settings/plugins/ifcfg-rh/plugin.c
src/settings/plugins/ifnet/nm-ifnet-connection.c
src/settings/plugins/ifupdown/nm-ifupdown-connection.c
tools/test-networkmanager-service.py