docs: fix a few documentation errors

This commit is contained in:
Jiří Klimeš 2012-06-29 11:49:51 +02:00
parent 4a2b1d631b
commit f8bef2c10b
3 changed files with 11 additions and 6 deletions

View file

@ -274,6 +274,11 @@
The device is a VLAN interface.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ADSL" value="12">
<tp:docstring>
The device is an ADSL device supporting PPPoE and PPPoATM protocols.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
<tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">

View file

@ -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.
**/

View file

@ -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"