From f94261ab03b478c5d4ff859f6444ac4c23e21839 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 18 Jan 2001 05:44:08 +0000 Subject: Updated to reflect changes to e_msg_composer_hdrs_get_from(). 2001-01-18 Jeffrey Stedfast * 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 --- composer/e-msg-composer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'composer/e-msg-composer.c') 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 (); -- cgit