aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/importers')
-rw-r--r--calendar/importers/evolution-calendar-importer.h2
-rw-r--r--calendar/importers/icalendar-importer.c12
2 files changed, 8 insertions, 6 deletions
diff --git a/calendar/importers/evolution-calendar-importer.h b/calendar/importers/evolution-calendar-importer.h
index 9a3facc4d7..7874a809fd 100644
--- a/calendar/importers/evolution-calendar-importer.h
+++ b/calendar/importers/evolution-calendar-importer.h
@@ -11,7 +11,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 05e7a4ee04..a4e0fa7048 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -12,7 +12,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -283,13 +283,15 @@ ivcal_import_items(void *d)
switch (ici->source_type) {
case E_CAL_SOURCE_TYPE_EVENT:
prepare_events (ici->icalcomp, NULL);
- if (!update_objects (ici->client, ici->icalcomp))
+ if (!update_objects (ici->client, ici->icalcomp)) {
/* FIXME: e_error ... */;
+ }
break;
case E_CAL_SOURCE_TYPE_TODO:
prepare_tasks (ici->icalcomp, NULL);
- if (!update_objects (ici->client, ici->icalcomp))
+ if (!update_objects (ici->client, ici->icalcomp)) {
/* FIXME: e_error ... */;
+ }
break;
default:
g_return_val_if_reached (FALSE);
@@ -525,8 +527,8 @@ load_vcalendar_file (const char *filename)
defaults.alarm_audio_url = g_filename_to_uri (default_alarm_filename,
NULL, NULL);
g_free (default_alarm_filename);
- defaults.alarm_audio_fmttype = "audio/x-wav";
- defaults.alarm_description = (char*) _("Reminder!");
+ defaults.alarm_audio_fmttype = (char *) "audio/x-wav";
+ defaults.alarm_description = (char *) _("Reminder!");
if (g_file_get_contents (filename, &contents, NULL, NULL)) {
VObject *vcal;