diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-07-09 06:59:23 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-07-09 06:59:23 +0800 |
commit | a2ab50c057cbe9baafa63372767c5022901838f6 (patch) | |
tree | c91c81252034914677e56926357cc95627ce538b /mail/mail-ops.h | |
parent | 82c99d625bf2d763adf0b812dd59b92a4aaa4735 (diff) | |
download | gsoc2013-evolution-a2ab50c057cbe9baafa63372767c5022901838f6.tar.gz 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.h | 2 |
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); |