aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-09 06:59:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-09 06:59:23 +0800
commita2ab50c057cbe9baafa63372767c5022901838f6 (patch)
treec91c81252034914677e56926357cc95627ce538b /mail/mail-ops.h
parent82c99d625bf2d763adf0b812dd59b92a4aaa4735 (diff)
downloadgsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.gz
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.bz2
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.lz
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.xz
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.zst
gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.zip
Don't ever use the mail-display's current_message, this can cause
2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (redirect): Don't ever use the mail-display's current_message, this can cause problems. * mail-ops.c (get_message_free): Unref the gotten message. All of the callers seemed to think that they didn't have to unref the message. * mail-display.c (mail_display_set_message): Now refs the message. (mail_display_destroy): Unref the current_message if we still have ownership of it. svn path=/trunk/; revision=17387
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index f471ea1c72..e509577bd6 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -52,7 +52,7 @@ void mail_transfer_messages (CamelFolder *source, GPtrArray *uids,
/* get a single message, asynchronously */
void mail_get_message (CamelFolder *folder, const char *uid,
- void (*done) (CamelFolder *folder, char *uid, CamelMimeMessage *msg, void *data),
+ void (*done) (CamelFolder *folder, const char *uid, CamelMimeMessage *msg, void *data),
void *data,
EThread *thread);