aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-26 08:16:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-26 08:16:31 +0800
commit3a69bfad533e0fde9f36ad9fa7f8bfa52b15c694 (patch)
tree00c7b34b2dd1f08b6a6c434b99823d3607fdf305 /mail/mail-ops.h
parent4eeed4e227b3acd9dc3983427f7cfff775468e51 (diff)
downloadgsoc2013-evolution-3a69bfad533e0fde9f36ad9fa7f8bfa52b15c694.tar.gz
gsoc2013-evolution-3a69bfad533e0fde9f36ad9fa7f8bfa52b15c694.tar.zst
gsoc2013-evolution-3a69bfad533e0fde9f36ad9fa7f8bfa52b15c694.zip
Don't forget to unref the FilterDriver.
2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * 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
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h5
1 files changed, 3 insertions, 2 deletions
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,