summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-10-15 15:27:25 -0400
committerDan Winship <danw@gnome.org>2014-10-22 08:29:09 -0400
commit862d4efeac8b340205b3cccdfd56b3c8c0279227 (patch)
tree0ee29371424207b78faa1b78530153cc33162bcc /libnm
parentfd7b9df47d6598af91b76af64584039ddc5037dc (diff)
downloadNetworkManager-862d4efeac8b340205b3cccdfd56b3c8c0279227.tar.gz
libnm-core, core: move NMManagerError to nm-errors
Move the definition of NMManagerError to nm-errors, register it with D-Bus, and verify in the tests that it maps correctly. NM_MANAGER_ERROR_INTERNAL gets renamed to NM_MANAGER_ERROR_FAILED for consistency. NM_MANAGER_ERROR_UNMANAGED_DEVICE is dropped since that name doesn't really describe the one place it was previously used in. NM_MANAGER_ERROR_SYSTEM_CONNECTION is dropped because it was't being used. NM_MANAGER_ERROR_UNSUPPORTED_CONNECTION_TYPE is dropped because it can be replaced with an NM_CONNECTION_ERROR. NM_MANAGER_ERROR_AUTOCONNECT_NOT_ALLOWED is turned into the more generic NM_MANAGER_ERROR_CONNECTION_NOT_AVAILABLE. Also, remove the <tp:possible-errors> sections from nm-manager.xml, since they were completely out of date.
Diffstat (limited to 'libnm')
-rw-r--r--libnm/libnm.ver2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index ff56819b0d..aa1b80e4b9 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -333,6 +333,8 @@ global:
nm_ip6_route_set_next_hop;
nm_ip6_route_set_prefix;
nm_ip6_route_unref;
+ nm_manager_error_get_type;
+ nm_manager_error_quark;
nm_object_error_get_type;
nm_object_error_quark;
nm_object_get_path;