aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-05-20 21:13:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-05-20 21:13:27 +0800
commit2e54fcc363382dcccf441c6d377366f83f752ba6 (patch)
tree9fd777eb94cfe2e8f4e8dc3c4c6699001e47bb0a /mail/mail-component.c
parentca5c50ddfeda1a3a8aaaaa7e1a42ab4c34200283 (diff)
downloadgsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.gz
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.bz2
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.lz
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.xz
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.zst
gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.zip
add helper for plugins to get mail session.
2005-05-20 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_peek_session): add helper for plugins to get mail session. svn path=/trunk/; revision=29396
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 6679c08bb6..a1945d4e9c 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -950,6 +950,13 @@ mail_component_peek_activity_handler (MailComponent *component)
return component->priv->activity_handler;
}
+struct _CamelSession *mail_component_peek_session(MailComponent *component)
+{
+ MAIL_COMPONENT_DEFAULT(component);
+
+ return session;
+}
+
void
mail_component_add_store (MailComponent *component, CamelStore *store, const char *name)
{