From ec22bcd92061fcf6ce599d5fd777a9159beaff02 Mon Sep 17 00:00:00 2001 From: bertrand Date: Fri, 13 Aug 1999 17:41:18 +0000 Subject: New field (message_list) which will hold a reference on each message 1999-08-13 bertrand * camel/camel-folder.h (struct _CamelFolder): New field (message_list) which will hold a reference on each message obtained by the folder, which is necessary in order for the caching procedure to work (Getting the same message from a folder twice will return the same CamelMimeMessage object). * camel/camel-folder.c (camel_folder_get_message): When the store retreives a message put it in its message list. (_finalize): free message list. * ChangeLog: fix typo (parmanent) svn path=/trunk/; revision=1112 --- camel/camel-folder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/camel-folder.h') diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 10ed7d1718..724a03d524 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -71,6 +71,8 @@ struct _CamelFolder CamelFolder *parent_folder; GList *permanent_flags; + GList *message_list; + }; -- cgit