aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:58:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:58:23 +0800
commit9190e008ad92251cdf0c27772970c56214d6cc6e (patch)
treedd5e9e380f4209aac647b3b5279b32f042fb5703 /camel/providers
parentcce3d433328f1ec39203e8b5770c6cc2650259a5 (diff)
downloadgsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar.gz
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar.bz2
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar.lz
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar.xz
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.tar.zst
gsoc2013-evolution-9190e008ad92251cdf0c27772970c56214d6cc6e.zip
> * 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
Diffstat (limited to 'camel/providers')
-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;