From 8b35e075d2d3b7234216b0fcc86c98efef07cf64 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 23 Jan 2001 23:52:30 +0000 Subject: Fix for api changes. 2001-01-24 Not Zed * tests/folder/test9.c (main): Fix for api changes. svn path=/trunk/; revision=7765 --- camel/ChangeLog | 2 ++ camel/tests/folder/test9.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 593c40fe8f..99eb32f0b9 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,7 @@ 2001-01-24 Not Zed + * tests/folder/test9.c (main): Fix for api changes. + * camel-filter-driver.c (camel_filter_driver_filter_mbox): Remove the 'finished message' bit. (camel_filter_driver_filter_message): Remove an accidentally diff --git a/camel/tests/folder/test9.c b/camel/tests/folder/test9.c index 68c761c40d..7e90e99e1e 100644 --- a/camel/tests/folder/test9.c +++ b/camel/tests/folder/test9.c @@ -52,7 +52,7 @@ struct { }; -static CamelFolder *get_folder(CamelFilterDriver *d, const char *uri, void *data) +static CamelFolder *get_folder(CamelFilterDriver *d, const char *uri, void *data, CamelException *ex) { int i; @@ -75,7 +75,7 @@ int main(int argc, char **argv) CamelStream *mbox; CamelFilterDriver *driver; - gtk_init(&argc, &argv); + /*gtk_init(&argc, &argv);*/ camel_test_init(argc, argv); @@ -153,7 +153,7 @@ int main(int argc, char **argv) push("Executing filters"); camel_filter_driver_set_default_folder(driver, mailboxes[0].folder); - camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", "", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", ex); check_msg(!camel_exception_is_set(ex), "%s", camel_exception_get_description(ex)); /* now need to check the folder counts/etc */ -- cgit v1.2.3