From 8a186c3588d3598857c36e2122fa68d01eba30fd 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-file.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'filter/e-filter-file.c') diff --git a/filter/e-filter-file.c b/filter/e-filter-file.c index 91942ec6f6..d9f87ce9c8 100644 --- a/filter/e-filter-file.c +++ b/filter/e-filter-file.c @@ -132,8 +132,8 @@ filter_file_xml_encode (EFilterElement *element) xmlSetProp (value, (xmlChar *) "name", (xmlChar *) element->name); xmlSetProp (value, (xmlChar *) "type", (xmlChar *) type); - cur = xmlNewChild (value, NULL, (xmlChar *)type, NULL); - xmlNodeSetContent (cur, (xmlChar *)file->path); + cur = xmlNewChild (value, NULL, (xmlChar *) type, NULL); + xmlNodeSetContent (cur, (xmlChar *) file->path); return value; } @@ -160,8 +160,8 @@ filter_file_xml_decode (EFilterElement *element, child = node->children; while (child != NULL) { - if (!strcmp ((gchar *)child->name, type)) { - str = (gchar *)xmlNodeGetContent (child); + if (!strcmp ((gchar *) child->name, type)) { + str = (gchar *) xmlNodeGetContent (child); file->path = g_strdup (str ? str : ""); xmlFree (str); @@ -246,7 +246,7 @@ e_filter_file_new_type_name (const gchar *type) EFilterFile *file; file = e_filter_file_new (); - file->type = (gchar *) xmlStrdup ((xmlChar *)type); + file->type = (gchar *) xmlStrdup ((xmlChar *) type); return file; } -- cgit v1.2.3