diff options
author | Not Zed <NotZed@Ximian.com> | 2003-11-17 11:32:41 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-11-17 11:32:41 +0800 |
commit | f71a064770e324fb61d4e595151184c94d3f90d1 (patch) | |
tree | 9bf3e1327e0a034cddf7c92d74e8e7d724b8f17c /mail/mail-component.c | |
parent | 4daa7491aad977c5fa705076e3ca9b80e51b3ab5 (diff) | |
download | gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.gz gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.zst gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.zip |
thin wrapper on mail_component_get_local_inbox.
2003-11-17 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_get_local_inbox): thin wrapper on
mail_component_get_local_inbox.
* mail-component.c (mail_component_get_local_inbox): helper to get
the default local inbox.
* mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make
sure we still unref the filter driver here by using hte same exit
code. Fixes a crash.
svn path=/trunk/; revision=23377
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 5 |
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; |