diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-09-17 05:15:38 +0800 |
---|---|---|
committer | Jeremy Katz <katzj@src.gnome.org> | 2003-09-17 05:15:38 +0800 |
commit | e8c9e32de84fd581b7fdb7584f7f360b8da946b7 (patch) | |
tree | 5b1d7bdf8b8a111b6b2260eec6055154ae15c208 /filter/rule-context.h | |
parent | 3bed164dfa108cdaf1fb29417c226feeaf50c298 (diff) | |
download | gsoc2013-evolution-e8c9e32de84fd581b7fdb7584f7f360b8da946b7.tar.gz gsoc2013-evolution-e8c9e32de84fd581b7fdb7584f7f360b8da946b7.tar.zst gsoc2013-evolution-e8c9e32de84fd581b7fdb7584f7f360b8da946b7.zip |
type should be a GType. (rule_context_add_rule_set): Likewise. Update
2003-09-16 Jeremy Katz <katzj@redhat.com>
* rule-context.c (rule_context_add_part_set): type should be a GType.
(rule_context_add_rule_set): Likewise.
* rule-context.h: Update prototypes. Use GType instead of int for
type in _part_set_map and _rule_set_map.
svn path=/trunk/; revision=22593
Diffstat (limited to 'filter/rule-context.h')
-rw-r--r-- | filter/rule-context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/rule-context.h b/filter/rule-context.h index 6e7a7f9443..f2192f4596 100644 --- a/filter/rule-context.h +++ b/filter/rule-context.h @@ -85,14 +85,14 @@ typedef FilterRule * (*RCNextRuleFunc) (RuleContext *rc, FilterRule *rule, const struct _part_set_map { char *name; - int type; + GType type; RCPartFunc append; RCNextPartFunc next; }; struct _rule_set_map { char *name; - int type; + GType type; RCRuleFunc append; RCNextRuleFunc next; }; @@ -122,9 +122,9 @@ void rule_context_rank_rule (RuleContext *rc, FilterRule *rule, const char *sour int rule_context_get_rank_rule (RuleContext *rc, FilterRule *rule, const char *source); /* setup type for set parts */ -void rule_context_add_part_set (RuleContext *rc, const char *setname, int part_type, +void rule_context_add_part_set (RuleContext *rc, const char *setname, GType part_type, RCPartFunc append, RCNextPartFunc next); -void rule_context_add_rule_set (RuleContext *rc, const char *setname, int rule_type, +void rule_context_add_rule_set (RuleContext *rc, const char *setname, GType rule_type, RCRuleFunc append, RCNextRuleFunc next); /* uri's disappear/renamed externally */ |