aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/calobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index 8d3e68edcc..01e90e3b50 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -677,7 +677,7 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
ical->class = g_strdup (str_val (vo));
free (the_str);
} else
- ical->class = "PUBLIC";
+ ical->class = g_strdup ("PUBLIC");
/* categories */
if (has (o, VCCategoriesProp)){