diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-01 10:40:45 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-01 10:40:45 +0800 |
commit | e60c558b2552803e624a5cef4fccdd645f2021e0 (patch) | |
tree | c66ca681415ff55aa87ef64308bb3a01d516a4c5 /camel/camel-mime-part.c | |
parent | 71eb39b730cd190c690647d3806d567d55424026 (diff) | |
download | gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.gz gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.zst gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.zip |
Email should now display correctly in GtkHTML
svn path=/trunk/; revision=5154
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 9dba5162a4..f372240347 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -544,8 +544,12 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) camel_object_unref((CamelObject *)crlf); } - camel_stream_filter_add(filter_stream, filter); - camel_object_unref((CamelObject *)filter); + + if (filter) { + camel_stream_filter_add(filter_stream, filter); + camel_object_unref((CamelObject *)filter); + } + stream = (CamelStream *)filter_stream; } |