diff options
author | bertrand <bertrand@helixcode.com> | 2000-01-24 23:07:18 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-01-24 23:07:18 +0800 |
commit | 98e15c6b5c3757241e3a4017df85ee0e42a5f947 (patch) | |
tree | fb7153111faa14d8091793ae258a2a140baf70e7 /tests | |
parent | f64b3bb5f2d3f4fa6e05fcc9223aff78fd8c2f12 (diff) | |
download | gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar.gz gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar.bz2 gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar.lz gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar.xz gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.tar.zst gsoc2013-evolution-98e15c6b5c3757241e3a4017df85ee0e42a5f947.zip |
add recipient_list to the recipients, not recipients_list. I don't know
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-recipient.c (camel_recipient_table_add_list):
add recipient_list to the recipients, not recipients_list.
I don't know what that variable was doing here.
2000-01-23 bertrand <bertrand@helixcode.com>
* camel/camel-store.c (camel_store_get_session):
added a public get_session method.
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
(camel_mbox_load_summary): load/save message sizes in the summary file
* camel/providers/mbox/camel-mbox-summary.h:
added a size field to the message information
structure.
* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
copy message size to the mbox summary information too.
* camel/camel-stream-fs.c (_seek): updated to
work with bounded fs streams.
(_write): ditto.
(_read): ditto.
* camel/camel-stream-fs.h (struct ):
added the cur_pos, inf_bound and sup_bound
members to allow for bounded fs stream.
* camel/camel-stream-fs.c (_set_bounds): new func.
(_init_with_fd_and_bounds): idem.
(_init_with_name_and_bounds): idem.
New functions to allow the usage of bounded fs streams.
The bounded fs stream allow, for example, to make a stream
from a message stored in an mbox file.
svn path=/trunk/; revision=1620
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test10.c | 16 | ||||
-rw-r--r-- | tests/test2.c | 5 |
2 files changed, 11 insertions, 10 deletions
diff --git a/tests/test10.c b/tests/test10.c index b223efb8ef..fc8cc326cf 100644 --- a/tests/test10.c +++ b/tests/test10.c @@ -105,17 +105,15 @@ main (int argc, char**argv) "Full description : %s\n", camel_exception_get_description (ex)); return -1; } - + uid_list = camel_folder_get_uid_list (folder, ex); - while (uid_list) { - printf ("UID : %s\n", (gchar *)uid_list->data); - uid_list = uid_list->next; - } - - camel_folder_close (folder, FALSE, ex); - + + + camel_folder_get_message_by_uid (folder, (gchar *)uid_list->data, ex); + camel_folder_close (folder, FALSE, ex); return 1; -} +} + diff --git a/tests/test2.c b/tests/test2.c index 20e8b739b9..99dc74d655 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -19,6 +19,7 @@ main (int argc, char**argv) gtk_init (&argc, &argv); camel_init (); camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; + message = camel_mime_message_new_with_session( (CamelSession *)NULL); @@ -30,6 +31,8 @@ main (int argc, char**argv) } camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); + + camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; camel_medium_get_content_object (CAMEL_MEDIUM (message)); camel_stream_close (input_stream); gtk_object_unref (GTK_OBJECT (input_stream)); @@ -39,7 +42,7 @@ main (int argc, char**argv) camel_stream_close (output_stream); gtk_object_unref (GTK_OBJECT (output_stream)); - gtk_object_unref (GTK_OBJECT (message)); + //gtk_object_unref (GTK_OBJECT (message)); return 0; |