[Xfce4-commits] <postler:master> Content type passed to parse_body can be null
Christian Dywan
noreply at xfce.org
Fri Dec 17 04:12:02 CET 2010
Updating branch refs/heads/master
to b21b73adf3d580f8e266e4355b8ce0ea00cb83a0 (commit)
from 6a753159c9b374bbca7ae23acc19372954203378 (commit)
commit b21b73adf3d580f8e266e4355b8ce0ea00cb83a0
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Dec 17 03:43:35 2010 +0100
Content type passed to parse_body can be null
Some messages actually don't specify the content type and
assume plain text.
postler/postler-content.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 1b1d397..6c14fef 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -679,7 +679,7 @@ public class Postler.Content : WebKit.WebView {
notify_property ("message-parts");
}
- void parse_body (DataInputStream stream, string content_type,
+ void parse_body (DataInputStream stream, string? content_type,
ref string charset) throws GLib.Error {
try {
More information about the Xfce4-commits
mailing list