aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-01-13 06:00:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-13 06:00:53 +0800
commitda17671fae7695b588a36bfba1b40ff19ffd68c4 (patch)
tree68c6197369f14eae59d0fc6a5af9cd662014112c /mail/mail-config.c
parentc650d5467d924784a62a2049616c39af8ce27e15 (diff)
downloadgsoc2013-evolution-da17671fae7695b588a36bfba1b40ff19ffd68c4.tar.gz
gsoc2013-evolution-da17671fae7695b588a36bfba1b40ff19ffd68c4.tar.zst
gsoc2013-evolution-da17671fae7695b588a36bfba1b40ff19ffd68c4.zip
oops, actually delete mail_config_get_account_by_address
svn path=/trunk/; revision=7462
Diffstat (limited to 'mail/mail-config.c')
-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)
{