aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-27 02:51:35 +0800
committerDan Winship <danw@src.gnome.org>2001-03-27 02:51:35 +0800
commit4cc23476d3f379c519e6b4a08bf83188fc77f900 (patch)
tree8e7e99fa97a901c6973ccb1fd939db8365052e72
parent18cd45c16b9ef489efa2b9f01ad9d861eac45f2d (diff)
downloadgsoc2013-evolution-4cc23476d3f379c519e6b4a08bf83188fc77f900.tar.gz
gsoc2013-evolution-4cc23476d3f379c519e6b4a08bf83188fc77f900.tar.zst
gsoc2013-evolution-4cc23476d3f379c519e6b4a08bf83188fc77f900.zip
Make the thumbnail cache global rather than per-MailDisplay, since
* mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache global rather than per-MailDisplay, since content-ids ought to be globally unique. Also, don't leak content-id strings when the pixbuf generation fails, and remove pixbufs from the cache after 5 minutes. svn path=/trunk/; revision=8948
-rw-r--r--mail/mail-display.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h
index 1af092e028..f14df5658c 100644
--- a/mail/mail-display.h
+++ b/mail/mail-display.h
@@ -31,7 +31,6 @@ struct _MailDisplay {
CamelMimeMessage *current_message;
GData **data;
- GHashTable *thumbnail_cache;
};
typedef struct {