diff options
author | Thomas Haller <thaller@redhat.com> | 2019-09-22 15:05:35 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-30 08:23:19 +0200 |
commit | 275d850d1b0b58088e42c031b2128634db5e9b9e (patch) | |
tree | 2fb7e87c3a280f4105688fca53fc69921a118e5a /libnm-core/nm-setting-wireless.c | |
parent | 6ecd4bed2a46e7c9e0684a1702182628bacbac3d (diff) | |
download | NetworkManager-275d850d1b0b58088e42c031b2128634db5e9b9e.tar.gz |
libnm: replace _properties_override_add_override() with _properties_override_add_gobj()
Diffstat (limited to 'libnm-core/nm-setting-wireless.c')
-rw-r--r-- | libnm-core/nm-setting-wireless.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libnm-core/nm-setting-wireless.c b/libnm-core/nm-setting-wireless.c index f753b688dc..0fa0f692b0 100644 --- a/libnm-core/nm-setting-wireless.c +++ b/libnm-core/nm-setting-wireless.c @@ -1611,13 +1611,12 @@ nm_setting_wireless_class_init (NMSettingWirelessClass *klass) G_PARAM_READWRITE | NM_SETTING_PARAM_FUZZY_IGNORE | G_PARAM_STATIC_STRINGS); - - _properties_override_add_override (properties_override, - obj_properties[PROP_SEEN_BSSIDS], - G_VARIANT_TYPE_STRING_ARRAY, - _to_dbus_fcn_seen_bssids, - NULL, - NULL); + _properties_override_add_gobj (properties_override, + obj_properties[PROP_SEEN_BSSIDS], + NM_SETT_INFO_PROPERT_TYPE ( + .dbus_type = G_VARIANT_TYPE_STRING_ARRAY, + .to_dbus_fcn = _to_dbus_fcn_seen_bssids, + )); /** * NMSettingWireless:mtu: |