libnm: rename NMSecretAgent to NMSecretAgentOld

As with NMVpnPluginOld, rename NMSecretAgent to NMSecretAgentOld, to
leave the name "NMSecretAgent" open for a new-and-improved version in
NM 1.2.
This commit is contained in:
Dan Winship
2014-11-20 11:53:19 -05:00
parent 88c9c6a6ac
commit 71b4c05fca
14 changed files with 400 additions and 403 deletions

View File

@@ -980,7 +980,7 @@ nmc_secrets_requested (NMSecretAgentSimple *agent,
/* Unregister our secret agent on failure, so that another agent
* may be tried */
if (nmc->secret_agent) {
nm_secret_agent_unregister (nmc->secret_agent, NULL, NULL);
nm_secret_agent_old_unregister (nmc->secret_agent, NULL, NULL);
g_clear_object (&nmc->secret_agent);
}
}