aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/tests/folder/test3.c2
-rw-r--r--camel/tests/folder/test9.c6
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 <fejj@ximian.com>
+ * tests/folder/test9.c (main): Updated to match the current API.
+
+ * tests/folder/test3.c: #include <gtk/gtk.h> 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 <gtk/gtk.h>
+
#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);