libnm: make "connection.type" property a NMRefString

This commit is contained in:
Thomas Haller 2022-01-05 17:05:00 +01:00
parent 419be57dbc
commit d36aaf91fa
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -1908,7 +1908,8 @@ nm_setting_connection_class_init(NMSettingConnectionClass *klass)
PROP_TYPE,
NM_SETTING_PARAM_INFERRABLE,
NMSettingConnectionPrivate,
type);
type,
.direct_string_is_refstr = TRUE);
/**
* NMSettingConnection:permissions: