aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-format-html-display.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a46dbef5d2..5e1bd36507 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+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>
+
2008-05-06 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #424744
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);