diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-27 02:51:35 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-27 02:51:35 +0800 |
commit | 4cc23476d3f379c519e6b4a08bf83188fc77f900 (patch) | |
tree | 8e7e99fa97a901c6973ccb1fd939db8365052e72 | |
parent | 18cd45c16b9ef489efa2b9f01ad9d861eac45f2d (diff) | |
download | gsoc2013-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.h | 1 |
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 { |