aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-30 04:23:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-30 04:23:56 +0800
commit996827b8fc5d460f6859ebb2b3617c72ce0e1c87 (patch)
tree9786ceb9e4a9ba0e8346afc859cc4bf70c1ff366 /mail/importers
parent9de8294968eee970d5ff96459021b39e0a7e126f (diff)
downloadgsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.tar.gz
gsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.tar.zst
gsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.zip
Updated for API change in the filter code.
2003-04-29 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_add_priority_workaround_filters): Updated for API change in the filter code. svn path=/trunk/; revision=21020
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/netscape-importer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c
index 071620c144..650e2432a3 100644
--- a/mail/importers/netscape-importer.c
+++ b/mail/importers/netscape-importer.c
@@ -776,19 +776,19 @@ netscape_add_priority_workaround_filters (FilterContext *fc)
fr = netscape_create_priority_converter (fc, LOWEST);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 0);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 0);
fr = netscape_create_priority_converter (fc, LOW);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 1);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 1);
fr = netscape_create_priority_converter (fc, HIGH);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 2);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 2);
fr = netscape_create_priority_converter (fc, HIGHEST);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 3);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 3);
}