aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-part.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-28 06:23:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-28 06:23:33 +0800
commitdce674fa1a19593e8b9b3b2ddbe5524f9cc54714 (patch)
tree2452242615a527700c376f3b7bfc2c650b548710 /filter/filter-part.c
parent7a6e3e892c2dc5239c4921ad585ffd78895ae3b5 (diff)
downloadgsoc2013-evolution-dce674fa1a19593e8b9b3b2ddbe5524f9cc54714.tar.gz
gsoc2013-evolution-dce674fa1a19593e8b9b3b2ddbe5524f9cc54714.tar.zst
gsoc2013-evolution-dce674fa1a19593e8b9b3b2ddbe5524f9cc54714.zip
Moved the regex filter rule around - we've changed the format a bit.
2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Moved the regex filter rule around - we've changed the format a bit. * filter-option.c (option_activate): Removed. (get_widget): Don't connect the activate signal. * filter-folder.c (validate): Updated. * filter-datespec.c (validate): Updated. * filter-part.c (filter_part_validate): Updated. * filter-input.c (validate): Check the filter-input type - if it's of type "regex", then check for regex validity. * filter-element.c (filter_element_validate): No longer takes a gpointer argument. (filter_element_new_type_name): Allow type "regex" and create a new filter-input with type "regex". 2000-11-24 Michael Meeks <michael@helixcode.com> * filter-message-search.c (get_full_header): impl. (header_full_regex): use it. 2000-11-23 Michael Meeks <michael@helixcode.com> * filter-message-search.c (header_full_regex): impl. svn path=/trunk/; revision=6685
Diffstat (limited to 'filter/filter-part.c')
-rw-r--r--filter/filter-part.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/filter-part.c b/filter/filter-part.c
index f32ed517c7..dcd55ac92c 100644
--- a/filter/filter-part.c
+++ b/filter/filter-part.c
@@ -117,16 +117,14 @@ gboolean
filter_part_validate (FilterPart *fp)
{
gboolean correct = TRUE;
- FilterElement *last = NULL;
GList *l;
l = fp->elements;
while (l && correct) {
FilterElement *fe = l->data;
- correct = filter_element_validate (fe, last ? last->data : NULL);
+ correct = filter_element_validate (fe);
- last = fe;
l = l->next;
}