From 09cf0a78c465c7e746b84057ac3222d7e73032ee Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 Jun 2000 22:20:58 +0000 Subject: Update for CamelFolder changes. * filter-driver.c (open_folder, close_folder): Update for CamelFolder changes. svn path=/trunk/; revision=3582 --- filter/ChangeLog | 5 +++++ filter/filter-driver.c | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/filter/ChangeLog b/filter/ChangeLog index da0d2570c3..c8493d12c1 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2000-06-15 Dan Winship + + * filter-driver.c (open_folder, close_folder): Update for + CamelFolder changes. + 2000-06-09 Jacob Berkman * filter-editor.c (add_or_edit): use stock pixmap buttons diff --git a/filter/filter-driver.c b/filter/filter-driver.c index 7e72450f51..95078a8144 100644 --- a/filter/filter-driver.c +++ b/filter/filter-driver.c @@ -480,13 +480,6 @@ open_folder(FilterDriver *d, const char *folder_url) goto fail; } - camel_folder_open(camelfolder, FOLDER_OPEN_RW, p->ex); - - if (camel_exception_get_id (p->ex)) { - printf ("Could not open folder: %s: %s", folder, camel_exception_get_description (p->ex)); - goto fail; - } - printf("opening folder: %s\n", folder_url); g_free(store); @@ -510,7 +503,7 @@ close_folder(void *key, void *value, void *data) printf("closing folder: %s\n", key); g_free(key); - camel_folder_close(f, TRUE, p->ex); + camel_folder_sync(f, FALSE, p->ex); gtk_object_unref((GtkObject *)f); } -- cgit