aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder/test3.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-20 04:14:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-20 04:14:15 +0800
commit5fb3a28aba18266a1cfc3759e6fc271a86531cb8 (patch)
treee39511d1d99ab08b529ea61f43df690b1f3b0b2a /camel/tests/folder/test3.c
parent520d7194c4837f288733b29fa69f9cdde524fe38 (diff)
downloadgsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.gz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.bz2
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.lz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.xz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.zst
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.zip
Updated to pass the needed arguments to camel_init() and to init gthreads
2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * tests/lib/camel-test.c (camel_test_init): Updated to pass the needed arguments to camel_init() and to init gthreads before camel (since camel expectes it to be initialised already). * tests/lib/session.c: #include <config.h> needed for ENABLE_THREADS so that sizeof (CamelSessionClass) gives the correct size. * tests/*: Updated to work with camel API changes. svn path=/trunk/; revision=17805
Diffstat (limited to 'camel/tests/folder/test3.c')
-rw-r--r--camel/tests/folder/test3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/tests/folder/test3.c b/camel/tests/folder/test3.c
index dc2946956f..14be8ed570 100644
--- a/camel/tests/folder/test3.c
+++ b/camel/tests/folder/test3.c
@@ -2,6 +2,8 @@
#include <gtk/gtk.h>
+#include <string.h>
+
#include "camel-test.h"
#include "messages.h"
#include "folders.h"
@@ -215,7 +217,7 @@ int main(int argc, char **argv)
pull();
push("appending simple message %d", j);
- camel_folder_append_message(folder, msg, NULL, ex);
+ camel_folder_append_message(folder, msg, NULL, NULL, ex);
check_msg(!camel_exception_is_set(ex), "%s", camel_exception_get_description(ex));
pull();