From b693398cdc17835b01fbfa48ec1fb4f2823e7e3f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 27 Mar 2012 17:14:56 +0200 Subject: Bug #672175 - Make CamelFolderSearch cancellable --- mail/message-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/message-list.c b/mail/message-list.c index 6e0e5f2064..14ef44fe91 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -4695,7 +4695,7 @@ regen_list_exec (struct _regen_list_msg *m, gboolean store_has_vjunk = folder_store_supports_vjunk_folder (m->folder); searchuids = uids = camel_folder_search_by_expression ( - m->folder, expr, &local_error); + m->folder, expr, cancellable, &local_error); /* If m->changes is not NULL, then it means we are called from folder_changed event, * thus we will keep the selected message to be sure it doesn't disappear because * it no longer belong to our search filter. */ -- cgit