aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-17 23:39:37 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-21 23:45:27 +0800
commitb887606a6bee18c955f2b4963ebb4b4df4be8b5f (patch)
treeee82a86d4e927151522c4bc8f695a353124e2576 /mail/em-utils.h
parent90ee277703555554e7853214ef675b68dbfb506b (diff)
downloadgsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar.gz
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar.bz2
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar.lz
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar.xz
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.tar.zst
gsoc2013-evolution-b887606a6bee18c955f2b4963ebb4b4df4be8b5f.zip
Move forward_to() implementation to MailSession (remove dep on composer)
Previously, the CamelSesssion's forward_to vfunc was implemented in em-composer-utils. However, there wasn't really any composer-related functionality that this function depended on, so in order to remove MailSession's dependency on composer-related functionality, this function was moved into mail-session.c. So now, instead of calling em_utils_forward_message_raw(), you should just call camel_session_forward_to() instead. This change necessitated moving a couple of "guess_account"-related functions into em-utils, but that's ok for now -- it matches the existing em_utils_guess_account() function that's already there. https://bugzilla.gnome.org/show_bug.cgi?id=604952
Diffstat (limited to 'mail/em-utils.h')
-rw-r--r--mail/em-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-utils.h b/mail/em-utils.h
index ae8e2f5f10..2293dfa283 100644
--- a/mail/em-utils.h
+++ b/mail/em-utils.h
@@ -101,7 +101,9 @@ void em_utils_clear_get_password_canceled_accounts_flag (void);
/* Unescapes &amp; back to a real & in URIs */
gchar *em_utils_url_unescape_amp (const gchar *url);
+GHashTable * em_utils_generate_account_hash (void);
struct _EAccount *em_utils_guess_account (CamelMimeMessage *message, CamelFolder *folder);
+struct _EAccount *em_utils_guess_account_with_recipients (CamelMimeMessage *message, CamelFolder *folder);
void emu_remove_from_mail_cache (const GSList *addresses);
void emu_remove_from_mail_cache_1 (const gchar *address);