aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-03-27 17:15:21 +0800
committerSeth Alves <alves@src.gnome.org>2000-03-27 17:15:21 +0800
commitcd85a5d05b5186f7539df79b88191f9fa39f7f06 (patch)
treee4bc1b96d0c873754cda86ef784067643c589594
parente277c047aff8fdc40cc50755ddf15a33104c51b6 (diff)
downloadgsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar.gz
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar.bz2
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar.lz
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar.xz
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.tar.zst
gsoc2013-evolution-cd85a5d05b5186f7539df79b88191f9fa39f7f06.zip
make this build (but not work)
svn path=/trunk/; revision=2186
-rw-r--r--tests/test11.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test11.c b/tests/test11.c
index 3625ead26b..443f49e788 100644
--- a/tests/test11.c
+++ b/tests/test11.c
@@ -85,7 +85,12 @@ main (int argc, char**argv)
printf("Search for messages\n");
- matches = camel_folder_search_by_expression (folder, "(match-all (header-contains \"subject\" \"gnome\"))", ex);
+#warning "track api change here"
+ matches = camel_folder_search_by_expression (folder,
+ "(match-all (header-contains \"subject\" \"gnome\"))",
+ /* func */ NULL,
+ /* data */ NULL,
+ ex);
if (matches) {
GList *n;
@@ -94,7 +99,7 @@ main (int argc, char**argv)
while (n) {
CamelMimeMessage *m;
- printf("uid: %s\n", n->data);
+ printf("uid: %s\n", (char *) n->data);
m = camel_folder_get_message_by_uid(folder, n->data, ex);
if (camel_exception_get_id (ex)) {