From b9f932b1b84349e80e8383d925a00a75a3b7fe29 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 3 May 2011 09:16:49 -0400 Subject: Drop 'folder_uri' param from em_utils_folder_is_sent(). --- plugins/itip-formatter/itip-formatter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/itip-formatter') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index f63f9623ba..a90ff38bbe 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2284,7 +2284,7 @@ in_proper_folder (CamelFolder *folder) /* or any other virtual folder */ CAMEL_IS_VEE_FOLDER (folder) || /* or anything else except of sent, outbox or drafts folder */ - (!em_utils_folder_is_sent (folder, folder_uri) && + (!em_utils_folder_is_sent (folder) && !em_utils_folder_is_outbox (folder, folder_uri) && !em_utils_folder_is_drafts (folder)) )); @@ -2292,7 +2292,7 @@ in_proper_folder (CamelFolder *folder) /* cannot check for Inbox folder here */ res = (folder->folder_flags & (CAMEL_FOLDER_IS_TRASH | CAMEL_FOLDER_IS_JUNK)) == 0 && ( (CAMEL_IS_VEE_FOLDER (folder)) || ( - !em_utils_folder_is_sent (folder, folder_uri) && + !em_utils_folder_is_sent (folder) && !em_utils_folder_is_outbox (folder, folder_uri) && !em_utils_folder_is_drafts (folder))); } -- cgit v1.2.3