aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-file.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:37:20 +0800
commit8a186c3588d3598857c36e2122fa68d01eba30fd (patch)
tree731078659d4e04af8346c5ca68512d8537b3707a /filter/e-filter-file.c
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'filter/e-filter-file.c')
-rw-r--r--filter/e-filter-file.c10
1 files changed, 5 insertions, 5 deletions
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;
}