core: don't leak 'ifindex' into PropertiesChanged signal
It's not part of the D-Bus spec; so it shouldn't be exposed.
This commit is contained in:
@@ -1850,7 +1850,7 @@ nm_device_ethernet_class_init (NMDeviceEthernetClass *klass)
|
|||||||
"Ifindex",
|
"Ifindex",
|
||||||
"Interface index",
|
"Interface index",
|
||||||
0, G_MAXUINT32, 0,
|
0, G_MAXUINT32, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | NM_PROPERTY_PARAM_NO_EXPORT));
|
||||||
|
|
||||||
/* Signals */
|
/* Signals */
|
||||||
signals[PROPERTIES_CHANGED] =
|
signals[PROPERTIES_CHANGED] =
|
||||||
|
@@ -3589,7 +3589,7 @@ nm_device_wifi_class_init (NMDeviceWifiClass *klass)
|
|||||||
"Ifindex",
|
"Ifindex",
|
||||||
"Interface index",
|
"Interface index",
|
||||||
0, G_MAXUINT32, 0,
|
0, G_MAXUINT32, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | NM_PROPERTY_PARAM_NO_EXPORT));
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_SCANNING,
|
g_object_class_install_property (object_class, PROP_SCANNING,
|
||||||
g_param_spec_boolean (NM_DEVICE_WIFI_SCANNING,
|
g_param_spec_boolean (NM_DEVICE_WIFI_SCANNING,
|
||||||
|
Reference in New Issue
Block a user