aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-formatter.c
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-02-14 12:23:14 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-02-14 12:23:14 +0800
commitddcfc699c72ee253307f2939492eb469beba3834 (patch)
tree41e26f4189661dcf1848e1066ead1543170cec0c /camel/camel-formatter.c
parentadd8821e99b4ea1b574ed469018ae224a542e6ae (diff)
downloadgsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar.gz
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar.bz2
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar.lz
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar.xz
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.tar.zst
gsoc2013-evolution-ddcfc699c72ee253307f2939492eb469beba3834.zip
+ * tests/ui-tests/test-multipart-mixed.msg: New rfc822 file, which
+ crashes message-browser. + + * tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a + CamelMimeMessage as a param, rather than a filename. + (main): Puts our windows in an hpane rather than a vbox. Also + opens a file dlg box if a filename wasn't given as a first param. svn path=/trunk/; revision=1771
Diffstat (limited to 'camel/camel-formatter.c')
-rw-r--r--camel/camel-formatter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-formatter.c b/camel/camel-formatter.c
index 32d6666847..50d1d2da6f 100644
--- a/camel/camel-formatter.c
+++ b/camel/camel-formatter.c
@@ -258,7 +258,8 @@ call_handler_function (CamelFormatter* formatter,
if (bonobo_tag) {
/* we can print a tag, and return! */
- camel_stream_write_string (formatter->priv->stream, bonobo_tag);
+ camel_stream_write_string (
+ formatter->priv->stream, bonobo_tag);
g_free (bonobo_tag);
return;
@@ -614,6 +615,8 @@ handle_mime_message (CamelFormatter *formatter,
g_assert (formatter);
g_assert (wrapper);
+ g_assert (CAMEL_IS_MIME_MESSAGE (wrapper));
+
mime_message = CAMEL_MIME_MESSAGE (wrapper);
message_contents =
camel_medium_get_content_object (CAMEL_MEDIUM (mime_message));