aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mail-config.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 6ba5f1b51e..55862acc09 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -551,25 +551,6 @@ mail_config_get_account_by_name (const char *account_name)
return NULL;
}
-const MailConfigAccount *
-mail_config_get_account_by_address (const char *address)
-{
- /* FIXME: this should really use a hash? */
- const MailConfigAccount *account;
- GSList *l;
-
- l = config->accounts;
- while (l) {
- account = l->data;
- if (account && account->id && !g_strcasecmp (account->id->address, address))
- return account;
-
- l = l->next;
- }
-
- return NULL;
-}
-
const GSList *
mail_config_get_accounts (void)
{