aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-09-01 10:40:45 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-09-01 10:40:45 +0800
commite60c558b2552803e624a5cef4fccdd645f2021e0 (patch)
treec66ca681415ff55aa87ef64308bb3a01d516a4c5 /camel
parent71eb39b730cd190c690647d3806d567d55424026 (diff)
downloadgsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar
gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.gz
gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.bz2
gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.lz
gsoc2013-evolution-e60c558b2552803e624a5cef4fccdd645f2021e0.tar.xz
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')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-mime-part.c8
2 files changed, 10 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d7cc92ddef..ef9fc3c95b 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-31 Lauris Kaplinski <lauris@helixcode.com>
+
+ * camel-mime-part.c (write_to-stream): Use filter only if we have one
+
2000-08-31 Chris Toshok <toshok@helixcode.com>
* providers/nntp/camel-nntp-utils.c (get_OVER_headers): use
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;
}