aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/e-filter-option.c')
-rw-r--r--filter/e-filter-option.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c
index 7eaa4324d5..25a979794b 100644
--- a/filter/e-filter-option.c
+++ b/filter/e-filter-option.c
@@ -159,7 +159,7 @@ filter_option_xml_create (EFilterElement *element,
if (!strcmp ((gchar *)work->name, "title") ||
!strcmp ((gchar *)work->name, "_title")) {
if (!title) {
- if (!(tmp = (gchar *)xmlNodeGetContent (work)))
+ if (!(tmp = (gchar *) xmlNodeGetContent (work)))
tmp = (gchar *)xmlStrdup ((xmlChar *)"");
title = g_strdup (tmp);
@@ -167,7 +167,7 @@ filter_option_xml_create (EFilterElement *element,
}
} else if (!strcmp ((gchar *)work->name, "code")) {
if (!code) {
- if (!(tmp = (gchar *)xmlNodeGetContent (work)))
+ if (!(tmp = (gchar *) xmlNodeGetContent (work)))
tmp = (gchar *)xmlStrdup ((xmlChar *)"");
code = g_strdup (tmp);
@@ -204,7 +204,7 @@ filter_option_xml_create (EFilterElement *element,
GSList *items, *i;
struct _filter_option *op;
- option->dynamic_func = g_strdup ((const gchar *)fn);
+ option->dynamic_func = g_strdup ((const gchar *) fn);
/* get options now, to have them available when reading saved rules */
items = filter_option_get_dynamic_options (option);
@@ -357,7 +357,7 @@ filter_option_get_widget (EFilterElement *element)
e_filter_option_set_current (option, old_cur->value);
/* free old list */
- g_list_foreach (old_ops, (GFunc)free_option, NULL);
+ g_list_foreach (old_ops, (GFunc) free_option, NULL);
g_list_free (old_ops);
}