mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
docs: fix a few documentation errors
This commit is contained in:
parent
4a2b1d631b
commit
f8bef2c10b
|
@ -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">
|
||||
|
|
|
@ -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.
|
||||
**/
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue