aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox')
-rw-r--r--camel/providers/mbox/camel-mbox-folder.h1
-rw-r--r--camel/providers/mbox/camel-mbox-search.c4
2 files changed, 0 insertions, 5 deletions
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;i<sizeof(symbols)/sizeof(symbols[0]);i++) {
if (symbols[i].type == 1) {
e_sexp_add_ifunction(f, 0, symbols[i].name, (ESExpIFunc *)symbols[i].func, ctx);
@@ -329,8 +327,6 @@ GList *camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *e
gtk_object_unref((GtkObject *)f);
- ((CamelMboxFolder *)folder)->searches = g_list_remove(((CamelMboxFolder *)folder)->searches, ctx);
-
g_free(ctx);
return matches;