aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-06-24 23:57:48 +0800
committerMilan Crha <mcrha@redhat.com>2010-06-24 23:57:48 +0800
commitb62f965b04b036f3b9d647a339852bfdd3c79e12 (patch)
treed6fdbf60ba78a3070b753776284009e965852c6e
parent6f014d4779a7bf13d39cdc6eea153cb40dba1b24 (diff)
downloadgsoc2013-evolution-b62f965b04b036f3b9d647a339852bfdd3c79e12.tar.gz
gsoc2013-evolution-b62f965b04b036f3b9d647a339852bfdd3c79e12.tar.zst
gsoc2013-evolution-b62f965b04b036f3b9d647a339852bfdd3c79e12.zip
Bug #621903 - Crash on HTML message print preview
-rw-r--r--widgets/misc/e-web-view.c6
1 files changed, 6 insertions, 0 deletions
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);