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 | |
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')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 87229237fd..470f00fc06 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2000-04-28 Dan Winship <danw@helixcode.com> + + * e-msg-composer-hdrs.c (set_recipients): Update (minimally) for + Camel recipient changes. + 2000-04-27 Dan Winship <danw@helixcode.com> * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to 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); |