aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar/csv-format.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 /plugins/save-calendar/csv-format.c
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.bz2
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.lz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.xz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'plugins/save-calendar/csv-format.c')
-rw-r--r--plugins/save-calendar/csv-format.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index 8bfec0df55..8692908544 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -96,10 +96,10 @@ add_list_to_csv (GString *line, GSList *list_in, CsvConfig *config, gint type)
needquotes = TRUE;
switch (type) {
case ECALCOMPONENTATTENDEE:
- str = ((ECalComponentAttendee*)list->data)->value;
+ str = ((ECalComponentAttendee*) list->data)->value;
break;
case ECALCOMPONENTTEXT:
- str = ((ECalComponentText*)list->data)->value;
+ str = ((ECalComponentText*) list->data)->value;
break;
case CONSTCHAR:
default:
@@ -109,7 +109,7 @@ add_list_to_csv (GString *line, GSList *list_in, CsvConfig *config, gint type)
if (!needquotes)
needquotes = string_needsquotes (str, config);
if (str)
- tmp = g_string_append (tmp, (const gchar *)str);
+ tmp = g_string_append (tmp, (const gchar *) str);
list = g_slist_next (list); cnt++;
if (list)
tmp = g_string_append (tmp, config->delimiter);
@@ -248,7 +248,7 @@ add_string_to_csv (GString *line, const gchar *value, CsvConfig *config)
if (needquotes)
line = g_string_append (line, config->quote);
- line = g_string_append (line, (const gchar *)value);
+ line = g_string_append (line, (const gchar *) value);
if (needquotes)
line = g_string_append (line, config->quote);
}