diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-09-02 19:19:40 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-09-02 19:19:40 +0800 |
commit | 5c7fc6df1165a26c7dfca91f9664c4e860856824 (patch) | |
tree | f0edec368083102280630c6d7f2ac3f88c98add3 /camel/camel-mime-message.c | |
parent | acfd8adff8c507d6ee738993866aefa12361b172 (diff) | |
download | gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.gz gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.bz2 gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.lz gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.xz gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.zst gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.zip |
changed decl to fit CRLFunc. (_write_recipients_to_stream): calls
1999-09-02 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-message.c (_write_one_recipient_to_stream):
changed decl to fit CRLFunc.
(_write_recipients_to_stream):
calls camel_recipient_foreach_recipient_type now.
* camel/camel-recipient.c (camel_recipient_foreach_recipient_type):
new convinience function. Iterate over all recipient types.
* camel/gmime-utils.c (gmime_write_header_table_to_stream):
s/write_header_table_to_stream/gmime_write_header_table_to_stream/
(gmime_write_header_with_glist_to_stream):
s/write_header_with_glist_to_stream/gmime_write_header_with_glist_to_stream/
svn path=/trunk/; revision=1167
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r-- | camel/camel-mime-message.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c index f26db4b358..edbf61f3d3 100644 --- a/camel/camel-mime-message.c +++ b/camel/camel-mime-message.c @@ -563,20 +563,22 @@ camel_mime_message_get_message_number (CamelMimeMessage *mime_message) #define WHPT gmime_write_header_pair_to_stream static void -_write_one_recipient_to_stream (gpointer key, gpointer value, gpointer user_data) +_write_one_recipient_to_stream (gchar *recipient_type, + GList *recipient_list, + gpointer user_data) { - gchar *recipient_type = (gchar *)key; - GList *recipients = (GList *)value; - // gchar *current; + CamelStream *stream = (CamelStream *)user_data; if (recipient_type) - write_header_with_glist_to_stream (stream, recipient_type, recipients, ", "); + gmime_write_header_with_glist_to_stream (stream, recipient_type, recipient_list, ", "); } static void _write_recipients_to_stream (CamelMimeMessage *mime_message, CamelStream *stream) { - //g_hash_table_foreach (mime_message->recipients, _write_one_recipient_to_stream, (gpointer)stream); + camel_recipient_foreach_recipient_type (mime_message->recipients, + _write_one_recipient_to_stream, + (gpointer)stream); } static void |