From ddcfc699c72ee253307f2939492eb469beba3834 Mon Sep 17 00:00:00 2001 From: Matthew Loper Date: Mon, 14 Feb 2000 04:23:14 +0000 Subject: + * 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 --- camel/camel-formatter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'camel') 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)); -- cgit