From fcce65ec8a149ca8f578e76ce6afd675edff196b Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 20 Jul 2001 19:15:04 +0000 Subject: Fix DanW's fix. Pass the right arguments to mail_msg_destroy. 2001-07-20 Peter Williams * 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 --- mail/mail-mt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/mail-mt.c') 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; -- cgit v1.2.3