aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-24 07:52:30 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-24 07:52:30 +0800
commit8b35e075d2d3b7234216b0fcc86c98efef07cf64 (patch)
treed5c31032e4d60c210e3a37bff8a4b9ad97352d84 /camel
parent0f301f38bc499beb749049c879715af7037c8fea (diff)
downloadgsoc2013-evolution-8b35e075d2d3b7234216b0fcc86c98efef07cf64.tar.gz
gsoc2013-evolution-8b35e075d2d3b7234216b0fcc86c98efef07cf64.tar.zst
gsoc2013-evolution-8b35e075d2d3b7234216b0fcc86c98efef07cf64.zip
Fix for api changes.
2001-01-24 Not Zed <NotZed@Ximian.com> * tests/folder/test9.c (main): Fix for api changes. svn path=/trunk/; revision=7765
Diffstat (limited to 'camel')
-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 */