aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-08-22 05:44:22 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-08-22 05:44:22 +0800
commit2e0a88042fc49f199c1560743c63b08dc785b7b0 (patch)
tree152641e8a62ce13b7e25286b21b9543ca70ab1ab /calendar/pcs
parentbfdb2a9614064654f7ae6292314f1a7f00ffdf2d (diff)
downloadgsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar.gz
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar.bz2
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar.lz
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar.xz
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.tar.zst
gsoc2013-evolution-2e0a88042fc49f199c1560743c63b08dc785b7b0.zip
Small fixes for calendar saving
svn path=/trunk/; revision=328
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/calobj.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index d8ca3fe5db..33aff8cda8 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -676,7 +676,8 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
if ((a = is_a_prop_of (vo, VCProcedureNameProp))){
ical->palarm.data = g_strdup (str_val (a));
free (the_str);
- }
+ } else
+ ical->palarm.data = g_strdup ("");
}
}
@@ -692,7 +693,8 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
if ((a = is_a_prop_of (vo, VCEmailAddressProp))){
ical->malarm.data = g_strdup (str_val (a));
free (the_str);
- }
+ } else
+ ical->malarm.data = g_strdup ("");
}
}