summaryrefslogtreecommitdiff
path: root/src/nm-device-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device-interface.c')
-rw-r--r--src/nm-device-interface.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/nm-device-interface.c b/src/nm-device-interface.c
index a2eb746221..a0b9877bcc 100644
--- a/src/nm-device-interface.c
+++ b/src/nm-device-interface.c
@@ -90,7 +90,15 @@ nm_device_interface_init (gpointer g_iface)
"Interface",
"Interface",
NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+
+ g_object_interface_install_property
+ (g_iface,
+ g_param_spec_string (NM_DEVICE_INTERFACE_IP_IFACE,
+ "IP Interface",
+ "IP Interface",
+ NULL,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
g_object_interface_install_property
(g_iface,