aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view-private.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index dd980e7fd6..bb97910b26 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -1215,8 +1215,7 @@ send_receive_add_to_menu (SendReceiveData *data,
if (provider && (provider->flags & CAMEL_PROVIDER_IS_REMOTE) != 0) {
gpointer object;
- if (CAMEL_IS_OFFLINE_STORE (service) ||
- CAMEL_IS_DISCO_STORE (service))
+ if (CAMEL_IS_OFFLINE_STORE (service))
object = g_object_ref (service);
else
object = camel_service_ref_session (service);