mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 05:40:29 +01:00
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:
parent
ea78b0af0e
commit
0d05bc9a63
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ nm_device_interface_init (gpointer g_iface)
|
|||
"DeviceType",
|
||||
"DeviceType",
|
||||
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_iface, g_param_spec_boolean (NM_DEVICE_INTERFACE_MANAGED,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue