aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-filter-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:11 +0800
commit54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch)
treec62c9ac6d08670dffc400ff00117508512ce4f8b /mail/em-filter-editor.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip
Coding style cleanups.
Diffstat (limited to 'mail/em-filter-editor.c')
-rw-r--r--mail/em-filter-editor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-filter-editor.c b/mail/em-filter-editor.c
index ca41486b1e..1efdca622a 100644
--- a/mail/em-filter-editor.c
+++ b/mail/em-filter-editor.c
@@ -44,13 +44,13 @@ filter_editor_create_rule (ERuleEditor *rule_editor)
EFilterPart *part;
/* create a rule with 1 part & 1 action in it */
- rule = (EFilterRule *)em_filter_rule_new ();
+ rule = (EFilterRule *) em_filter_rule_new ();
part = e_rule_context_next_part (rule_editor->context, NULL);
e_filter_rule_add_part (rule, e_filter_part_clone (part));
part = em_filter_context_next_action (
- (EMFilterContext *)rule_editor->context, NULL);
+ (EMFilterContext *) rule_editor->context, NULL);
em_filter_rule_add_action (
- (EMFilterRule *)rule, e_filter_part_clone (part));
+ (EMFilterRule *) rule, e_filter_part_clone (part));
return rule;
}
@@ -134,7 +134,7 @@ free_sources (gpointer data)
{
GSList *sources = data;
- g_slist_foreach (sources, (GFunc)g_free, NULL);
+ g_slist_foreach (sources, (GFunc) g_free, NULL);
g_slist_free (sources);
}
@@ -155,7 +155,7 @@ select_source (GtkComboBox *combobox, EMFilterEditor *fe)
source = (gchar *) (g_slist_nth (sources, idx))->data;
g_return_if_fail (source);
- e_rule_editor_set_source ((ERuleEditor *)fe, source);
+ e_rule_editor_set_source ((ERuleEditor *) fe, source);
}
void