X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-msg-edit-window.c;h=d3ff35ba4b37eca5059bef61e690142c2090fce1;hp=976a601ac926b436d09e1afbde20a3631181be73;hb=1b9054356e613aa2b629bf34fd21fb1fccb80956;hpb=c0342fe819176fe9a3b370bdb43cb97d7d47af75 diff --git a/src/maemo/modest-msg-edit-window.c b/src/maemo/modest-msg-edit-window.c index 976a601..d3ff35b 100644 --- a/src/maemo/modest-msg-edit-window.c +++ b/src/maemo/modest-msg-edit-window.c @@ -1975,7 +1975,7 @@ modest_msg_edit_window_insert_image (ModestMsgEditWindow *window) (modest_runtime_get_platform_factory ()); TnyStream *stream = create_stream_for_uri (uri); - tny_mime_part_construct_from_stream (mime_part, stream, mime_type); + tny_mime_part_construct (mime_part, stream, mime_type, "base64"); content_id = g_strdup_printf ("%d", priv->last_cid); tny_mime_part_set_content_id (mime_part, content_id); @@ -2076,7 +2076,7 @@ modest_msg_edit_window_attach_file_one ( (modest_runtime_get_platform_factory ()); stream = TNY_STREAM (tny_vfs_stream_new (handle)); - tny_mime_part_construct_from_stream (mime_part, stream, mime_type); + tny_mime_part_construct (mime_part, stream, mime_type, "base64"); g_object_unref (stream);