From 5f3f0da8b17f93b79d7744778e94aa4543b17d3c Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 10 May 2001 02:51:20 +0000 Subject: Pass appropriate parameters to CF_CLASS and add comment explaining why my 2001-05-09 Peter Williams * providers/imap/camel-imap-folder.c (imap_move_messages_to): Pass appropriate parameters to CF_CLASS and add comment explaining why my initial attempt at a solution didn't work. svn path=/trunk/; revision=9742 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 259f226100..f085732b99 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-05-09 Peter Williams + + * providers/imap/camel-imap-folder.c (imap_move_messages_to): Pass + appropriate parameters to CF_CLASS and add comment explaining why + my initial attempt at a solution didn't work. + 2001-05-09 Dan Winship * camel-disco-store.c (camel_disco_set_status): Set the diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 852280127a..26410a7abf 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -833,7 +833,9 @@ imap_move_messages_to (CamelFolder *source, GPtrArray *uids, { int i; - CF_CLASS (disco_folder_class)->copy_messages_to (source, uids, destination, ex); + /* do it this way (as opposed to camel_folder_copy_messages_to) + * to avoid locking issues */ + CF_CLASS (source)->copy_messages_to (source, uids, destination, ex); if (camel_exception_is_set (ex)) return; -- cgit v1.2.3