mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 12:20:36 +01:00
Set default values on construct
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3185 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
7be989b38e
commit
7932f43718
1 changed files with 3 additions and 3 deletions
|
|
@ -163,7 +163,7 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_class)
|
|||
"Speed",
|
||||
"Speed",
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | G_PARAM_CONSTRUCT));
|
||||
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_DUPLEX,
|
||||
|
|
@ -179,7 +179,7 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_class)
|
|||
"AutoNegotiate",
|
||||
"Auto negotiate",
|
||||
TRUE,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | G_PARAM_CONSTRUCT));
|
||||
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_MAC_ADDRESS,
|
||||
|
|
@ -195,6 +195,6 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_class)
|
|||
"MTU",
|
||||
"MTU",
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | G_PARAM_CONSTRUCT));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue