summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-olpc-mesh.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-03-09 09:39:58 -0500
committerDan Winship <danw@gnome.org>2012-03-12 15:29:52 -0400
commit54ef8f3224a02aac76623cfa0a7d38c3b3ff7d3e (patch)
tree802e0373406bbf89a45051fa97f18ec12e610b41 /libnm-util/nm-setting-olpc-mesh.h
parent2a1277f0da71257206938efa600c20cded6019f5 (diff)
Fix names of error enum values
When NM was registering all of its enum types by hand, it was using NamesLikeThis rather than the default names-like-this for the "nick" values. When we switched to using glib-mkenums, this resulted in dbus-glib using different strings for the D-Bus error names, causing compatibility problems. Fix this by using glib-mkenums annotations to manually fix all the enum values back to what they were before. (This can't be done in a more automated way, because the old names aren't 100% consistent. Eg, "UNKNOWN" frequently becomes "UnknownError" rather than just "Unknown".)
Diffstat (limited to 'libnm-util/nm-setting-olpc-mesh.h')
-rw-r--r--libnm-util/nm-setting-olpc-mesh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm-util/nm-setting-olpc-mesh.h b/libnm-util/nm-setting-olpc-mesh.h
index c693610a71..d6940401bc 100644
--- a/libnm-util/nm-setting-olpc-mesh.h
+++ b/libnm-util/nm-setting-olpc-mesh.h
@@ -43,9 +43,9 @@ G_BEGIN_DECLS
typedef enum
{
- NM_SETTING_OLPC_MESH_ERROR_UNKNOWN = 0,
- NM_SETTING_OLPC_MESH_ERROR_INVALID_PROPERTY,
- NM_SETTING_OLPC_MESH_ERROR_MISSING_PROPERTY
+ NM_SETTING_OLPC_MESH_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
+ NM_SETTING_OLPC_MESH_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
+ NM_SETTING_OLPC_MESH_ERROR_MISSING_PROPERTY /*< nick=MissingProperty >*/
} NMSettingOlpcMeshError;
#define NM_SETTING_OLPC_MESH_ERROR nm_setting_olpc_mesh_error_quark ()