aboutsummaryrefslogtreecommitdiff
path: root/src/filter.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-13 10:41:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-13 10:41:31 +0000
commited3b53d5c76f6f631141962ec0318832f7103698 (patch)
tree0672be07eb746e02b66502c5a615f7948fcf3eb6 /src/filter.c
parentc39ae22ff8abe554f3a80208b9a2434296b3e26f (diff)
integrated junk filter setting into common prefs.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@336 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/filter.c b/src/filter.c
index bc11a824..217c55da 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -1169,6 +1169,15 @@ void filter_rule_match_type_str_to_enum(const gchar *match_type,
}
}
+void filter_rule_list_free(GSList *fltlist)
+{
+ GSList *cur;
+
+ for (cur = fltlist; cur != NULL; cur = cur->next)
+ filter_rule_free((FilterRule *)cur->data);
+ g_slist_free(fltlist);
+}
+
void filter_rule_free(FilterRule *rule)
{
if (!rule) return;