aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-05-09 16:18:48 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-05-09 16:18:48 +0800
commit3227032415bdcd01e8684cf2ec1c8f087dcfafe0 (patch)
treea1910cfc66194c8d4959d4edc03a2deb1d8553b9 /mail/em-format-html-display.c
parent116ed5dcc7bc07fc9a2e78aef4231bfe25fa9d0a (diff)
downloadgsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar.gz
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar.bz2
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar.lz
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar.xz
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.tar.zst
gsoc2013-evolution-3227032415bdcd01e8684cf2ec1c8f087dcfafe0.zip
** Fix for bug #531519
2008-05-09 Sankar P <psankar@novell.com> ** Fix for bug #531519 * em-format-html-display.c: (efhd_message_update_bar): Evolution crashes on print-preview. ** Committed on behalf of Srinivasa Ragavan <sragavan@novell.com> svn path=/trunk/; revision=35486
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 9f21fb565c..d1bc065064 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -2273,7 +2273,7 @@ efhd_message_update_bar(EMFormat *emf, CamelStream *stream, CamelMimePart *part,
EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *) emf;
const char *classid = "attachment-bar-refresh";
- if (efhd->nobar || efhd->priv->updated )
+ if (efhd->nobar || efhd->priv->updated || !efhd->priv->attachment_bar)
return;
efhd->priv->files = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);