diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 22:02:58 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:17 +0800 |
commit | 5146ff4c535f443fe25290eb96631e91ad44c8ef (patch) | |
tree | b8cc31419c1f297092e13eedd9a5877f4c106eda /filter/e-rule-context.c | |
parent | ea8a59a443f861af88ddb21d5dcbde1c95006203 (diff) | |
download | gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.gz gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.zst gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'filter/e-rule-context.c')
-rw-r--r-- | filter/e-rule-context.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c index 99378242ee..e03501ce62 100644 --- a/filter/e-rule-context.c +++ b/filter/e-rule-context.c @@ -365,7 +365,9 @@ rule_context_revert (ERuleContext *context, /* clear out anythign we have? */ return 0; - source_hash = g_hash_table_new ((GHashFunc) source_hashf, (GCompareFunc) source_eqf); + source_hash = g_hash_table_new ( + (GHashFunc) source_hashf, + (GCompareFunc) source_eqf); /* setup stuff we have now */ /* Note that we assume there is only 1 set of rules in a given rule context, @@ -395,7 +397,9 @@ rule_context_revert (ERuleContext *context, rule_map->type, NULL, NULL)); if (e_filter_rule_xml_decode (part, rule, context) == 0) { - /* use the revert data to keep track of the right rank of this rule part */ + /* Use the revert data to keep + * track of the right rank of + * this rule part. */ rest_data = g_hash_table_lookup (source_hash, part->source); if (rest_data == NULL) { rest_data = g_malloc0 (sizeof (*rest_data)); @@ -415,7 +419,11 @@ rule_context_revert (ERuleContext *context, g_hash_table_remove (rest_data->rules, frule->name); } else { e_rule_context_add_rule (context, part); - e_rule_context_rank_rule (context, part, part->source, rest_data->rank); + e_rule_context_rank_rule ( + context, + part, + part->source, + rest_data->rank); } rest_data->rank++; } else { |