diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 22:35:03 +0800 |
commit | 433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch) | |
tree | d66a04ad4fa676b4bfce762dee09a82f4434d374 /filter/filter-rule.c | |
parent | e6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff) | |
download | gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.bz2 gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.lz gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.xz gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip |
More code cleanup.
Diffstat (limited to 'filter/filter-rule.c')
-rw-r--r-- | filter/filter-rule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/filter-rule.c b/filter/filter-rule.c index 00610c48ea..354d276fe8 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -203,7 +203,7 @@ filter_rule_validate (FilterRule *fr) return FILTER_RULE_GET_CLASS (fr)->validate (fr); } -static int +static gint validate (FilterRule *fr) { gint valid = TRUE; @@ -240,7 +240,7 @@ filter_rule_eq (FilterRule *fr, FilterRule *cm) && FILTER_RULE_GET_CLASS (fr)->eq (fr, cm); } -static int +static gint list_eq(GList *al, GList *bl) { gint truth = TRUE; @@ -256,7 +256,7 @@ list_eq(GList *al, GList *bl) return truth && al == NULL && bl == NULL; } -static int +static gint rule_eq (FilterRule *fr, FilterRule *cm) { return fr->enabled == cm->enabled @@ -387,7 +387,7 @@ filter_rule_xml_decode (FilterRule *fr, xmlNodePtr node, RuleContext *f) return res; } -static int +static gint xml_decode (FilterRule *fr, xmlNodePtr node, RuleContext *f) { xmlNodePtr work; |