From a8e5e96228f138b89f6b1c682dd0c44fa1555019 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 10 Nov 2010 11:40:43 +0100 Subject: Bug #632293 - Do not add POP accounts into folder tree --- mail/e-mail-store.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/e-mail-store.c') diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index fdba2cfbd6..44c5c7e3a8 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -171,6 +171,9 @@ mail_store_add (EMailSession *session, StoreInfo *store_info; g_return_if_fail (store_table != NULL); + g_return_if_fail (store != NULL); + g_return_if_fail (CAMEL_IS_STORE (store)); + g_return_if_fail ((CAMEL_SERVICE (store)->provider->flags & CAMEL_PROVIDER_IS_STORAGE) != 0); default_model = em_folder_tree_model_get_default (); folder_cache = e_mail_session_get_folder_cache (session); -- cgit