aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test4.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-24 03:26:54 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-24 03:26:54 +0800
commit6ed1a40852d43229bec2509d7d0b9e35efde163f (patch)
tree3e62a7cf60ceaaecfbf05f4d8ed09207690cfcc2 /tests/test4.c
parent6d24357f783eff964bcae1c531e08c5040b3b919 (diff)
downloadgsoc2013-evolution-6ed1a40852d43229bec2509d7d0b9e35efde163f.tar.gz
gsoc2013-evolution-6ed1a40852d43229bec2509d7d0b9e35efde163f.tar.zst
gsoc2013-evolution-6ed1a40852d43229bec2509d7d0b9e35efde163f.zip
Added corba-like exception system to CamelFolder. The exception system is
* Added corba-like exception system to CamelFolder. The exception system is not finished but I wanted the async and event implementation to get this right from the beginning. svn path=/trunk/; revision=1256
Diffstat (limited to 'tests/test4.c')
-rw-r--r--tests/test4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test4.c b/tests/test4.c
index 9c02fc3496..99285cec43 100644
--- a/tests/test4.c
+++ b/tests/test4.c
@@ -32,7 +32,7 @@ main (int argc, char**argv)
camel_store_init (store, (CamelSession *)NULL, g_strdup ("mh:///root/Mail"));
root_mh_folder = camel_store_get_folder (store, "");
- mh_subfolders_name = camel_folder_list_subfolders (root_mh_folder);
+ mh_subfolders_name = camel_folder_list_subfolders (root_mh_folder, NULL);
printf ("\n------------- Listing root Mh folder subfolders --------\n");
while (mh_subfolders_name) {
@@ -48,7 +48,7 @@ main (int argc, char**argv)
}
/* test existence */
- inbox_exists = camel_folder_exists (inbox_folder);
+ inbox_exists = camel_folder_exists (inbox_folder, NULL);
if (inbox_exists)
printf ("MH folder inbox exists, continuing tests\n");
else {
@@ -56,9 +56,9 @@ main (int argc, char**argv)
return 1;
}
- printf ("\n Inbox folder contains %d messages\n", camel_folder_get_message_count (inbox_folder));
+ printf ("\n Inbox folder contains %d messages\n", camel_folder_get_message_count (inbox_folder, NULL));
printf ("\n------------- Gettting message numer 3 in inbox --------\n");
- message_1 = camel_folder_get_message (inbox_folder, 3);
+ message_1 = camel_folder_get_message (inbox_folder, 3, NULL);
printf ("--------------------------------------------------------\n\n");