diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml
index 253ab7312d..20bbb9170f 100644
--- a/introspection/nm-device.xml
+++ b/introspection/nm-device.xml
@@ -274,6 +274,11 @@
The device is a VLAN interface.
+
+
+ The device is an ADSL device supporting PPPoE and PPPoATM protocols.
+
+
diff --git a/libnm-util/nm-setting-adsl.c b/libnm-util/nm-setting-adsl.c
index 9e31c4239f..6103c715c1 100644
--- a/libnm-util/nm-setting-adsl.c
+++ b/libnm-util/nm-setting-adsl.c
@@ -280,7 +280,7 @@ finalize (GObject *object)
static void
set_property (GObject *object, guint prop_id,
- const GValue *value, GParamSpec *pspec)
+ const GValue *value, GParamSpec *pspec)
{
NMSettingAdslPrivate *priv = NM_SETTING_ADSL_GET_PRIVATE (object);
@@ -318,7 +318,7 @@ set_property (GObject *object, guint prop_id,
static void
get_property (GObject *object, guint prop_id,
- GValue *value, GParamSpec *pspec)
+ GValue *value, GParamSpec *pspec)
{
NMSettingAdsl *setting = NM_SETTING_ADSL (object);
@@ -381,7 +381,7 @@ nm_setting_adsl_class_init (NMSettingAdslClass *setting_class)
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
/**
- * NMSettingADSL:password:
+ * NMSettingAdsl:password:
*
* Password used to authenticate with the ADSL service.
**/
diff --git a/src/nm-device-adsl.h b/src/nm-device-adsl.h
index 50ea43e32e..7ecb4350a4 100644
--- a/src/nm-device-adsl.h
+++ b/src/nm-device-adsl.h
@@ -37,9 +37,9 @@ G_BEGIN_DECLS
#define NM_DEVICE_ADSL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_ADSL, NMDeviceAdslClass))
typedef enum {
- NM_ADSL_ERROR_CONNECTION_NOT_ADSL = 0,
- NM_ADSL_ERROR_CONNECTION_INVALID,
- NM_ADSL_ERROR_CONNECTION_INCOMPATIBLE,
+ NM_ADSL_ERROR_CONNECTION_NOT_ADSL = 0, /*< nick=ConnectionNotAdsl >*/
+ NM_ADSL_ERROR_CONNECTION_INVALID, /*< nick=ConnectionInvalid >*/
+ NM_ADSL_ERROR_CONNECTION_INCOMPATIBLE, /*< nick=ConnectionIncompatible >*/
} NMAdslError;
#define NM_DEVICE_ADSL_CARRIER "carrier"