diff options
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index 07f522b493..5915f19c89 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -347,7 +347,7 @@ impl_dispose (GObject *object) } if (priv->local_store != NULL) { - camel_object_unref (CAMEL_OBJECT (priv->local_store)); + camel_object_unref (priv->local_store); priv->local_store = NULL; } @@ -868,6 +868,15 @@ mail_component_peek_tree_model (MailComponent *component) return component->priv->model; } +CamelStore * +mail_component_peek_local_store (MailComponent *mc) +{ + MAIL_COMPONENT_DEFAULT (mc); + mc_setup_local_store (mc); + + return mc->priv->local_store; +} + /** * mail_component_get_folder: * @mc: |