aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-28 06:21:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-28 06:21:05 +0800
commit5a223c85b94c5cc51fe5e830665cabd981e4c75b (patch)
treeabe8a382481fffd085124a91115e27d486209191
parent016826bc8a947b2ea0308971cb1ca355bef4aa47 (diff)
downloadgsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar.gz
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar.bz2
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar.lz
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar.xz
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.tar.zst
gsoc2013-evolution-5a223c85b94c5cc51fe5e830665cabd981e4c75b.zip
Updated to match the current API.
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(). svn path=/trunk/; revision=10546
-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);