From 4cc23476d3f379c519e6b4a08bf83188fc77f900 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 26 Mar 2001 18:51:35 +0000 Subject: 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 --- mail/mail-display.h | 1 - 1 file changed, 1 deletion(-) 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 { -- cgit v1.2.3