aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-option.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 /filter/e-filter-option.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 '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);
}