aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 372d4c2280..d72423b3e9 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -207,13 +207,19 @@ mail_filter_folder (CamelFolder *source_folder, GPtrArray *uids,
e_thread_put (mail_thread_new, (EMsg *)m);
}
-/* convenience function for it */
+/* convenience functions for it */
void
mail_filter_on_demand (CamelFolder *folder, GPtrArray *uids)
{
mail_filter_folder (folder, uids, FILTER_SOURCE_DEMAND, FALSE, NULL);
}
+void
+mail_filter_junk (CamelFolder *folder, GPtrArray *uids)
+{
+ mail_filter_folder (folder, uids, FILTER_SOURCE_JUNKTEST, FALSE, NULL);
+}
+
/* ********************************************************************** */
/* Temporary workaround for various issues. Gone before 0.11 */