From 3a69bfad533e0fde9f36ad9fa7f8bfa52b15c694 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 26 Oct 2000 00:16:31 +0000 Subject: Don't forget to unref the FilterDriver. 2000-10-25 Jeffrey Stedfast * mail-ops.c (do_send_mail): Don't forget to unref the FilterDriver. * mail-callbacks.c (apply_filters): New callback for applying on-demand filters. (removed the old on-demand filters callback). * mail-ops.c (do_filter_ondemand): Rewrote to apply "incoming" filters to all selected messages. (mail_do_filter_ondemand): No longer takes a FilterContext argument or a destination folder argument (why did we ever need this last one??) but now takes a uids argument. * folder-browser-factory.c: Add a MessageApplyFilters menu item. svn path=/trunk/; revision=6190 --- mail/mail-ops.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/mail-ops.h') diff --git a/mail/mail-ops.h b/mail/mail-ops.h index 0a093b25ce..1be4dc68bc 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -32,8 +32,9 @@ void mail_do_fetch_mail (const gchar *source_url, gboolean keep_on_server, CamelFolder *destination, gpointer hook_func, gpointer hook_data); -void mail_do_filter_ondemand (FilterContext *context, CamelFolder *source, - CamelFolder *destination); + +void mail_do_filter_ondemand (CamelFolder *source, GPtrArray *uids); + void mail_do_send_mail (const char *xport_uri, CamelMimeMessage *message, CamelFolder *done_folder, -- cgit v1.2.3