[evolution/gnome-2-30] Bug #613261 - application/mbox not shown properly



commit 9b0a5ed323e176bba841ee6bf755e3526f436706
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 1 15:21:08 2010 +0200

    Bug #613261 - application/mbox not shown properly

 em-format/em-format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index e5856a0..19913ef 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1757,7 +1757,7 @@ emf_application_mbox (EMFormat *emf,
 
 	mem_stream = camel_stream_mem_new ();
 	camel_data_wrapper_decode_to_stream (
-		CAMEL_DATA_WRAPPER (mime_part), mem_stream);
+		camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)), mem_stream);
 	camel_seekable_stream_seek (
 		CAMEL_SEEKABLE_STREAM (mem_stream), 0, CAMEL_STREAM_SET);
 	camel_mime_parser_init_with_stream (parser, mem_stream);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]