From 9190e008ad92251cdf0c27772970c56214d6cc6e Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Tue, 2 May 2000 20:58:23 +0000 Subject: > * providers/mbox/camel-mbox-search.c > (camel_mbox_folder_search_by_expression): Dont store/remove > current search from the search list. > > * providers/mbox/camel-mbox-folder.h: Removed searches list, > searches are all sync now. svn path=/trunk/; revision=2755 --- camel/providers/mbox/camel-mbox-folder.h | 1 - camel/providers/mbox/camel-mbox-search.c | 4 ---- 2 files changed, 5 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/mbox/camel-mbox-folder.h b/camel/providers/mbox/camel-mbox-folder.h index 366aca3e86..24a336f8c9 100644 --- a/camel/providers/mbox/camel-mbox-folder.h +++ b/camel/providers/mbox/camel-mbox-folder.h @@ -54,7 +54,6 @@ typedef struct { gchar *index_file_path; /* index of body contents */ ibex *index; /* index for this folder */ - GList *searches; /* current searches */ CamelMboxSummary *summary; } CamelMboxFolder; diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c index 107984d75b..412926ea2c 100644 --- a/camel/providers/mbox/camel-mbox-search.c +++ b/camel/providers/mbox/camel-mbox-search.c @@ -300,8 +300,6 @@ GList *camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *e g_warning("No folder index, searches will not function fully"); } - ((CamelMboxFolder *)folder)->searches = g_list_append(((CamelMboxFolder *)folder)->searches, ctx); - for(i=0;isearches = g_list_remove(((CamelMboxFolder *)folder)->searches, ctx); - g_free(ctx); return matches; -- cgit v1.2.3