aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index a551eb26ce..db65ced743 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -676,6 +676,11 @@ mail_component_get_tree_model (MailComponent *component)
return model;
}
+struct _CamelFolder *
+mail_component_get_local_inbox(MailComponent *mc, struct _CamelException *ex)
+{
+ return camel_store_get_folder(mc->priv->local_store, "Inbox", 0, ex);
+}
extern struct _CamelSession *session;