core: don't leak 'device-type' into PropertiesChanged signal

The device type is set at object construction before the object is
ever exported, thus the first time a client gets the value it will
be correct, and the value should never change.  As such, the
property never needs to be part of PropertiesChanged signals.
This commit is contained in:
Dan Williams
2009-11-04 10:42:21 -08:00
parent ea78b0af0e
commit 0d05bc9a63

View File

@@ -151,7 +151,7 @@ nm_device_interface_init (gpointer g_iface)
"DeviceType", "DeviceType",
"DeviceType", "DeviceType",
0, G_MAXUINT32, NM_DEVICE_TYPE_UNKNOWN, 0, G_MAXUINT32, NM_DEVICE_TYPE_UNKNOWN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | NM_PROPERTY_PARAM_NO_EXPORT));
g_object_interface_install_property g_object_interface_install_property
(g_iface, g_param_spec_boolean (NM_DEVICE_INTERFACE_MANAGED, (g_iface, g_param_spec_boolean (NM_DEVICE_INTERFACE_MANAGED,