mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 00:50:16 +01:00
libnm: drop unused property implementation for DOUBLE type
We don't have a property of type double, that would need this.
This commit is contained in:
parent
710c54760c
commit
1ed46739c0
1 changed files with 1 additions and 7 deletions
|
|
@ -398,13 +398,7 @@ _nm_setting_class_commit(NMSettingClass *setting_class,
|
|||
.from_dbus_fcn = _nm_setting_property_from_dbus_fcn_gprop,
|
||||
.from_dbus_is_full = TRUE);
|
||||
}
|
||||
} else if (vtype == G_TYPE_DOUBLE)
|
||||
p->property_type = NM_SETT_INFO_PROPERT_TYPE_GPROP(
|
||||
G_VARIANT_TYPE_DOUBLE,
|
||||
.compare_fcn = _nm_setting_property_compare_fcn_default,
|
||||
.from_dbus_fcn = _nm_setting_property_from_dbus_fcn_gprop,
|
||||
.from_dbus_is_full = TRUE);
|
||||
else if (vtype == G_TYPE_STRV)
|
||||
} else if (vtype == G_TYPE_STRV)
|
||||
p->property_type = NM_SETT_INFO_PROPERT_TYPE_GPROP(
|
||||
G_VARIANT_TYPE_STRING_ARRAY,
|
||||
.compare_fcn = _nm_setting_property_compare_fcn_default,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue