core/trivial: rename nm_config_device_state_prune_unseen() to nm_config_device_state_prune_stale()

It's just a more fitting name after the previous change.
This commit is contained in:
Thomas Haller 2020-03-04 16:52:57 +01:00
parent ad9e748816
commit ecb0210e7a
3 changed files with 5 additions and 5 deletions

View file

@ -2479,8 +2479,8 @@ nm_config_device_state_write (int ifindex,
}
void
nm_config_device_state_prune_unseen (GHashTable *preserve_ifindexes,
NMPlatform *preserve_in_platform)
nm_config_device_state_prune_stale (GHashTable *preserve_ifindexes,
NMPlatform *preserve_in_platform)
{
GDir *dir;
const char *fn;

View file

@ -258,8 +258,8 @@ gboolean nm_config_device_state_write (int ifindex,
const char *next_server,
const char *root_path);
void nm_config_device_state_prune_unseen (GHashTable *preserve_ifindexes,
NMPlatform *preserve_in_platform);
void nm_config_device_state_prune_stale (GHashTable *preserve_ifindexes,
NMPlatform *preserve_in_platform);
const GHashTable *nm_config_device_state_get_all (NMConfig *self);
const NMConfigDeviceStateData *nm_config_device_state_get (NMConfig *self,

View file

@ -6567,7 +6567,7 @@ nm_manager_write_device_state_all (NMManager *self)
}
}
nm_config_device_state_prune_unseen (preserve_ifindexes, NULL);
nm_config_device_state_prune_stale (preserve_ifindexes, NULL);
}
static gboolean