aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-21 03:15:04 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-21 03:15:04 +0800
commitfcce65ec8a149ca8f578e76ce6afd675edff196b (patch)
tree59ba77ca320e8de6f6d29a9c69961f5cbdd30448 /mail/mail-mt.c
parent78cdb79e5a9f464ede40ea1caa373cf46e24de4b (diff)
downloadgsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.tar.gz
gsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.tar.zst
gsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.zip
Fix DanW's fix. Pass the right arguments to mail_msg_destroy.
2001-07-20 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_msgport_replied): Fix DanW's fix. Pass the right arguments to mail_msg_destroy. * component-factory.c (component_fn): Don't populate the context menu; our only action didn't even work. (populate_folder_context_menu): Removed. ChangeFolderProperties needs a FolderBrowser which we don't have. It didn't even work before. * mail-local.c (mail_local_reconfigure_folder): Bring the creation of the hash table to the beginning to prevent warnings. Complain if the mailbox is non-local. svn path=/trunk/; revision=11266
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 18a5c34723..da004630f7 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -60,6 +60,8 @@ static pthread_cond_t mail_msg_cond = PTHREAD_COND_INITIALIZER;
pthread_t mail_gui_thread;
+static void mail_msg_destroy(EThread *e, EMsg *msg, void *data);
+
void *mail_msg_new(mail_msg_op_t *ops, EMsgPort *reply_port, size_t size)
{
struct _mail_msg *msg;
@@ -257,7 +259,7 @@ mail_msgport_replied(GIOChannel *source, GIOCondition cond, void *d)
if (m->ops->reply_msg)
m->ops->reply_msg(m);
mail_msg_check_error(m);
- mail_msg_destroy(m);
+ mail_msg_destroy(NULL, m, NULL);
}
return TRUE;