aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ui-tests/store_listing.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-14 02:28:56 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-14 02:28:56 +0800
commit920be6e190bf0dd0056a71695cf3350625e8318c (patch)
tree102e3b08b35febec6e718334a928e1bad6010e5e /tests/ui-tests/store_listing.c
parentec22bcd92061fcf6ce599d5fd777a9159beaff02 (diff)
downloadgsoc2013-evolution-920be6e190bf0dd0056a71695cf3350625e8318c.tar.gz
gsoc2013-evolution-920be6e190bf0dd0056a71695cf3350625e8318c.tar.zst
gsoc2013-evolution-920be6e190bf0dd0056a71695cf3350625e8318c.zip
default implementation to be called first by providers methods. It looks
1999-08-13 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (_get_message): default implementation to be called first by providers methods. It looks in the folder message list (in memory) to see if the message has not already been retrieved, and in this case, returns the same CamelMimeMessage object Caching messages in folder kworks. Providers will have to do their job correctly. Enough for today. svn path=/trunk/; revision=1113
Diffstat (limited to 'tests/ui-tests/store_listing.c')
-rw-r--r--tests/ui-tests/store_listing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui-tests/store_listing.c b/tests/ui-tests/store_listing.c
index a9f1d875cd..7b5a6e9133 100644
--- a/tests/ui-tests/store_listing.c
+++ b/tests/ui-tests/store_listing.c
@@ -74,7 +74,7 @@ show_folder_messages (CamelFolder *folder)
folder_message_count = camel_folder_get_message_count (folder);
for (i=0; i<folder_message_count; i++) {
message = camel_folder_get_message (folder, i);
-
+ gtk_object_ref (GTK_OBJECT (message));
sent_date = camel_mime_message_get_sent_date (message);
sender = camel_mime_message_get_from (message);
subject = camel_mime_message_get_subject (message);