Skip to content
  • Thomas Haller's avatar
    core: use nm_dbus_object_get_path() instead of nm_connection_get_path() · 9efa7c72
    Thomas Haller authored
    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.
    9efa7c72