diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-18 13:44:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-18 13:44:08 +0800 |
commit | f94261ab03b478c5d4ff859f6444ac4c23e21839 (patch) | |
tree | cfd60c8b71f11f91cc602702ff392db000097dc2 /composer/e-msg-composer.c | |
parent | d3781819c3243711edc60d5fdaf24c8c88a62c23 (diff) | |
download | gsoc2013-evolution-f94261ab03b478c5d4ff859f6444ac4c23e21839.tar.gz gsoc2013-evolution-f94261ab03b478c5d4ff859f6444ac4c23e21839.tar.zst gsoc2013-evolution-f94261ab03b478c5d4ff859f6444ac4c23e21839.zip |
Updated to reflect changes to e_msg_composer_hdrs_get_from().
2001-01-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Updated to reflect changes to
e_msg_composer_hdrs_get_from().
* e-msg-composer-hdrs.c (set_recipients): Don't do anymore utf8
conversions, the widget already does this (or should unless there
is brokenness).
(e_msg_composer_hdrs_get_from): Return a CamelInternetAddress like
we should.
(e_msg_composer_hdrs_to_message): Update to reflect changes made
the the above function.
svn path=/trunk/; revision=7614
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 2b12abad04..1b68d28f2e 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -240,10 +240,10 @@ build_message (EMsgComposer *composer) EMsgComposerAttachmentBar *attachment_bar = E_MSG_COMPOSER_ATTACHMENT_BAR (composer->attachment_bar); MsgFormat type = MSG_FORMAT_ALTERNATIVE; + CamelInternetAddress *from; CamelMimeMessage *new; CamelMultipart *body = NULL; CamelMimePart *part; - gchar *from = NULL; gboolean plain_e8bit = FALSE, html_e8bit = FALSE; char *html = NULL, *plain = NULL; char *content_type = NULL; @@ -271,7 +271,7 @@ build_message (EMsgComposer *composer) e_msg_composer_hdrs_set_from_account (E_MSG_COMPOSER_HDRS (composer->hdrs), account->name); } - g_free (from); + camel_object_unref (CAMEL_OBJECT (from)); new = camel_mime_message_new (); |