diff options
author | Thomas Haller <thaller@redhat.com> | 2018-03-29 11:40:27 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-04-13 09:09:46 +0200 |
commit | 9efa7c7220aeb0e37ec9131b8815575d10164aa1 (patch) | |
tree | 85d515c7d70b4918bb6873695ec3326731338cad /src/nm-core-utils.c | |
parent | efe5cf79c0eb61b86958f5cc58c7361121d0eede (diff) | |
download | NetworkManager-9efa7c7220aeb0e37ec9131b8815575d10164aa1.tar.gz |
core: use nm_dbus_object_get_path() instead of nm_connection_get_path()
Essentially, nm_connection_get_path() mirros nm_dbus_object_get_path().
However, when cloning a simple-connection, the path also gets cloned.
I think this field doesn't belong to NMConnection in the first place,
because NMConnection is not a D-Bus object. NMSettingsConnection (in
core) and NMRemoteConnection (in libnm) is.
Don't use the misleading alias, but use nm_dbus_object_get_path()
directly.
Diffstat (limited to 'src/nm-core-utils.c')
0 files changed, 0 insertions, 0 deletions