From 54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 8 May 2011 13:24:42 -0400 Subject: Coding style cleanups. --- filter/e-filter-option.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'filter/e-filter-option.c') 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); } -- cgit v1.2.3