From b62f965b04b036f3b9d647a339852bfdd3c79e12 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 24 Jun 2010 17:57:48 +0200 Subject: Bug #621903 - Crash on HTML message print preview --- widgets/misc/e-web-view.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'widgets/misc') diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index d489a7aa75..d484ce9515 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -192,6 +192,12 @@ web_view_request_check_for_error (EWebViewRequest *request, if (error == NULL) return FALSE; + if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) { + /* use this error, but do not close the stream */ + g_error_free (error); + return TRUE; + } + /* XXX Should we log errors that are not cancellations? */ html = GTK_HTML (request->web_view); -- cgit v1.2.3