diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 709bde47c3..a518144a47 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1369,6 +1369,12 @@ mail_config_set_default_charset (const char *charset) } +gboolean +mail_config_find_account (const MailConfigAccount *account) +{ + return g_slist_find (config->accounts, (gpointer) account) != NULL; +} + const MailConfigAccount * mail_config_get_default_account (void) { |