diff options
author | NotZed <NotZed@HelixCode.com> | 2000-05-03 07:06:52 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-03 07:06:52 +0800 |
commit | 1f7bdbf9c16ab5948ea2c8143216ea66c286d715 (patch) | |
tree | 5c3534faed84b0dc481d6ecc4e8a8897702df5de /tests/test11.c | |
parent | 5f25c0c05cdbc3b5b382140566431a3d15807151 (diff) | |
download | gsoc2013-evolution-1f7bdbf9c16ab5948ea2c8143216ea66c286d715.tar.gz gsoc2013-evolution-1f7bdbf9c16ab5948ea2c8143216ea66c286d715.tar.zst gsoc2013-evolution-1f7bdbf9c16ab5948ea2c8143216ea66c286d715.zip |
And here too.
2000-05-02 NotZed <NotZed@HelixCode.com>
* tests/test13.c: And here too.
* tests/test2.c (main): REmoved gmime-utils.h
* tests/Makefile.am (LDADD): Add libeutil to default link line.
(test_movemail_LDADD): Fixed order for libutil linking.
svn path=/trunk/; revision=2761
Diffstat (limited to 'tests/test11.c')
-rw-r--r-- | tests/test11.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test11.c b/tests/test11.c index beb706dca1..25f7d88928 100644 --- a/tests/test11.c +++ b/tests/test11.c @@ -84,7 +84,8 @@ main (int argc, char**argv) printf("Search for messages\n"); matches = camel_folder_search_by_expression (folder, - "(match-all (header-contains \"subject\" \"gnome\"))", +/* "(match-all (header-contains \"subject\" \"gnome\"))",*/ + "(body-contains \"gnome\")", ex); printf("search found matches:\n"); @@ -93,8 +94,9 @@ main (int argc, char**argv) CamelMimeMessage *m; printf("uid: %s\n", (char *) n->data); +#if 0 m = camel_folder_get_message_by_uid(folder, n->data, ex); - + if (camel_exception_get_id (ex)) { printf ("Cannot get message\n" "Full description : %s\n", camel_exception_get_description (ex)); @@ -111,6 +113,8 @@ main (int argc, char**argv) camel_mime_message_set_flags(m, CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); /* camel_mime_message_set_flags(m, CAMEL_MESSAGE_ANSWERED, CAMEL_MESSAGE_ANSWERED);*/ } + camel_mime_message_unref(m); +#endif n = g_list_next(n); } |