aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/tests/folder/test9.c6
2 files changed, 5 insertions, 3 deletions
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 <NotZed@Ximian.com>
+ * 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 */