diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-29 06:42:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-29 06:42:53 +0800 |
commit | 22127dc16ca6f456c468c7290b371e32fbd65b98 (patch) | |
tree | 4fd483164f5a7afa8f104f52fe5a8def3bf07041 /composer/e-msg-composer-hdrs.c | |
parent | e11f08d0481797a215c5b1837a4cc18003dd082d (diff) | |
download | gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar.gz gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar.bz2 gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar.lz gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar.xz gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.tar.zst gsoc2013-evolution-22127dc16ca6f456c468c7290b371e32fbd65b98.zip |
update for Camel recipient changes. (Just to make it build, not to take
advantage of new features, or do things cleanly.)
svn path=/trunk/; revision=2677
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index e69c15efae..fb6d5adf3f 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -249,6 +249,7 @@ set_recipients (CamelMimeMessage *msg, EMsgComposerAddressEntry *entry; GList *list; GList *p; + struct _header_address *addr; entry = E_MSG_COMPOSER_ADDRESS_ENTRY (entry_widget); list = e_msg_composer_address_entry_get_addresses (entry); @@ -256,8 +257,10 @@ set_recipients (CamelMimeMessage *msg, /* FIXME leak? */ for (p = list; p != NULL; p = p->next) { - printf ("Adding `%s:' header: %s\n", type, (gchar *) p->data); - camel_mime_message_add_recipient (msg, type, (gchar *) p->data); + addr = header_address_decode (p->data); + camel_mime_message_add_recipient (msg, type, addr->name, + addr->v.addr); + header_address_unref (addr); } g_list_free (list); |