diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-11-12 19:36:56 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-01-29 19:28:29 +0000 |
commit | 8e91d6b414c669f6397c7b7e5ba53b61aa30dbfd (patch) | |
tree | 54351d6b2fd99793ffcdd27071b7e2114141aa40 /mission-control-plugins | |
parent | 2dc61bd97a4e1d1862df5b45b0f28dfb1d8b2a2c (diff) |
mcp_account_manager_list_keys: remove
This is unused, and plugins don't have any good reason to call it.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
Diffstat (limited to 'mission-control-plugins')
-rw-r--r-- | mission-control-plugins/account.c | 23 | ||||
-rw-r--r-- | mission-control-plugins/account.h | 3 | ||||
-rw-r--r-- | mission-control-plugins/implementation.h | 3 |
3 files changed, 0 insertions, 29 deletions
diff --git a/mission-control-plugins/account.c b/mission-control-plugins/account.c index c9859d70..fecd3d8d 100644 --- a/mission-control-plugins/account.c +++ b/mission-control-plugins/account.c @@ -168,29 +168,6 @@ mcp_account_manager_set_parameter (const McpAccountManager *mcpa, } /** - * mcp_account_manage_list_keys: - * @mcpa: a #McpAccountManager instance - * @account: the unique name of an account - * - * <!-- --> - * - * Returns: (transfer full): a list of all keys (attributes and - * "param-"-prefixed parameters) stored for @account by any plugin - */ -GStrv -mcp_account_manager_list_keys (const McpAccountManager *mcpa, - const gchar *account) -{ - McpAccountManagerIface *iface = MCP_ACCOUNT_MANAGER_GET_IFACE (mcpa); - - g_return_val_if_fail (iface != NULL, NULL); - g_return_val_if_fail (iface->list_keys != NULL, NULL); - g_return_val_if_fail (account != NULL, NULL); - - return iface->list_keys (mcpa, account); -} - -/** * mcp_account_manager_get_unique_name: * @mcpa: an #McpAccountManager instance * @manager: the name of the manager diff --git a/mission-control-plugins/account.h b/mission-control-plugins/account.h index 4356b3c0..788813f1 100644 --- a/mission-control-plugins/account.h +++ b/mission-control-plugins/account.h @@ -67,9 +67,6 @@ gchar * mcp_account_manager_get_unique_name (McpAccountManager *mcpa, const gchar *protocol, const gchar *identification); -GStrv mcp_account_manager_list_keys (const McpAccountManager *mcpa, - const gchar *account); - gchar *mcp_account_manager_escape_variant_for_keyfile ( const McpAccountManager *mcpa, GVariant *variant); diff --git a/mission-control-plugins/implementation.h b/mission-control-plugins/implementation.h index 9d44b3bb..7d951464 100644 --- a/mission-control-plugins/implementation.h +++ b/mission-control-plugins/implementation.h @@ -87,9 +87,6 @@ struct _McpAccountManagerIface { const gchar *protocol, const gchar *identification); - GStrv (* list_keys) (const McpAccountManager *ma, - const gchar *acct); - gchar * (* escape_variant_for_keyfile) (const McpAccountManager *mcpa, GVariant *variant); |