diff options
Diffstat (limited to 'mail/em-filter-rule.c')
-rw-r--r-- | mail/em-filter-rule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-filter-rule.c b/mail/em-filter-rule.c index 47c5e4d0d2..8e95800e7a 100644 --- a/mail/em-filter-rule.c +++ b/mail/em-filter-rule.c @@ -35,7 +35,7 @@ #define d(x) -static gint validate(FilterRule *fr); +static gint validate(FilterRule *fr, GtkWindow *error_parent); static gint filter_eq(FilterRule *fr, FilterRule *cm); static xmlNodePtr xml_encode(FilterRule *fr); static gint xml_decode(FilterRule *fr, xmlNodePtr, RuleContext *rc); @@ -172,18 +172,18 @@ em_filter_rule_build_action(EMFilterRule *fr, GString *out) } static gint -validate(FilterRule *fr) +validate(FilterRule *fr, GtkWindow *error_parent) { EMFilterRule *ff =(EMFilterRule *)fr; GList *parts; gint valid; - valid = FILTER_RULE_CLASS(parent_class)->validate(fr); + valid = FILTER_RULE_CLASS(parent_class)->validate (fr, error_parent); /* validate rule actions */ parts = ff->actions; while (parts && valid) { - valid = filter_part_validate((FilterPart *)parts->data); + valid = filter_part_validate ((FilterPart *)parts->data, error_parent); parts = parts->next; } |