From 5a223c85b94c5cc51fe5e830665cabd981e4c75b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 27 Jun 2001 22:21:05 +0000 Subject: Updated to match the current API. 2001-06-27 Jeffrey Stedfast * tests/folder/test9.c (main): Updated to match the current API. * tests/folder/test3.c: #include since we use gtk_init(). svn path=/trunk/; revision=10546 --- camel/ChangeLog | 5 +++++ camel/tests/folder/test3.c | 2 ++ camel/tests/folder/test9.c | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 7c71fc8972..7bcee459fa 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2001-06-27 Jeffrey Stedfast + * tests/folder/test9.c (main): Updated to match the current API. + + * tests/folder/test3.c: #include since we use + gtk_init(). + * camel-internet-address.c (camel_internet_address_encode_address): Use the new header_address_fold. diff --git a/camel/tests/folder/test3.c b/camel/tests/folder/test3.c index 6aa7ad6a60..dc2946956f 100644 --- a/camel/tests/folder/test3.c +++ b/camel/tests/folder/test3.c @@ -1,5 +1,7 @@ /* folder/index testing */ +#include + #include "camel-test.h" #include "messages.h" #include "folders.h" diff --git a/camel/tests/folder/test9.c b/camel/tests/folder/test9.c index cd65143e16..17ec182832 100644 --- a/camel/tests/folder/test9.c +++ b/camel/tests/folder/test9.c @@ -173,7 +173,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", NULL, ex); check_msg(!camel_exception_is_set(ex), "%s", camel_exception_get_description(ex)); /* now need to check the folder counts/etc */ @@ -187,7 +187,7 @@ int main(int argc, char **argv) push("rule %s", brokens[i].match); driver = camel_filter_driver_new(get_folder, NULL); camel_filter_driver_add_rule(driver, brokens[i].name, brokens[i].match, brokens[i].action); - camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex); check(camel_exception_is_set(ex)); camel_exception_clear(ex); check_unref(driver, 1); @@ -200,7 +200,7 @@ int main(int argc, char **argv) push("rule %s", brokena[i].action); driver = camel_filter_driver_new(get_folder, NULL); camel_filter_driver_add_rule(driver, brokena[i].name, brokena[i].match, brokena[i].action); - camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex); check(camel_exception_is_set(ex)); camel_exception_clear(ex); check_unref(driver, 1); -- cgit