diff options
author | Thomas Haller <thaller@redhat.com> | 2020-02-26 16:09:05 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-02-26 17:54:15 +0100 |
commit | 8d5c4b26e40e8894cd112229957dc34031eb748e (patch) | |
tree | e01ff8169b9100434f4b3846a7b72e444060e953 | |
parent | 13059ff7847e09e697d2bceef2ec420968613bf6 (diff) | |
download | NetworkManager-8d5c4b26e40e8894cd112229957dc34031eb748e.tar.gz |
device: don't make NM_DEVICE_FIRMWARE_MISSING property writable
It's not necessary nor used.
-rw-r--r-- | src/devices/nm-device.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 235bfa8f62..40b3651e6d 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -17317,10 +17317,6 @@ set_property (GObject *object, guint prop_id, else nm_device_autoconnect_blocked_set (self, NM_DEVICE_AUTOCONNECT_BLOCKED_USER); break; - case PROP_FIRMWARE_MISSING: - /* construct-only */ - priv->firmware_missing = g_value_get_boolean (value); - break; case PROP_NM_PLUGIN_MISSING: /* construct-only */ priv->nm_plugin_missing = g_value_get_boolean (value); @@ -17810,7 +17806,7 @@ nm_device_class_init (NMDeviceClass *klass) obj_properties[PROP_FIRMWARE_MISSING] = g_param_spec_boolean (NM_DEVICE_FIRMWARE_MISSING, "", "", FALSE, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); obj_properties[PROP_NM_PLUGIN_MISSING] = g_param_spec_boolean (NM_DEVICE_NM_PLUGIN_MISSING, "", "", |