aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
committerDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
commit2a6a191e0501a677fbac59304b6bc375e221e3ec (patch)
treee352a5b911913e3254bc3c47c8315dace9bc2061 /composer/e-msg-composer.c
parent2409d71026645028f49bfd0f745e93346cc17450 (diff)
downloadgsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.gz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.zst
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.zip
Remove. We weren't using the fields that made this different from
* camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 3a2decae4a..81423f39d3 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -135,7 +135,7 @@ static CamelMimeMessage *
build_message (EMsgComposer *composer)
{
CamelMimeMessage *new;
- CamelMimeBodyPart *body_part;
+ CamelMimePart *part;
CamelMultipart *multipart;
char *text;
int i;
@@ -151,14 +151,13 @@ build_message (EMsgComposer *composer)
}
multipart = camel_multipart_new ();
- body_part = camel_mime_body_part_new ();
+ part = camel_mime_part_new ();
text = get_editor_text (BONOBO_WIDGET (composer->editor));
- camel_mime_part_set_content (CAMEL_MIME_PART (body_part), text,
- strlen (text), "text/html");
+ camel_mime_part_set_content (part, text, strlen (text), "text/html");
g_free (text);
- camel_multipart_add_part (multipart, body_part);
+ camel_multipart_add_part (multipart, part);
e_msg_composer_attachment_bar_to_multipart
(E_MSG_COMPOSER_ATTACHMENT_BAR (composer->attachment_bar),