Fix for #50387.
2003-11-03 Harry Lu <harry.lu@sun.com> Fix for #50387. * importers/icalendar-importer.c (support_format_fn): Call icalcomponent_is_valid() to check whether the returned icalcomponent is valid. svn path=/trunk/; revision=23165
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
2003-11-03 Harry Lu <harry.lu@sun.com>
|
||||
|
||||
Fix for #50387.
|
||||
|
||||
* importers/icalendar-importer.c (support_format_fn):
|
||||
Call icalcomponent_is_valid() to check whether the returned
|
||||
icalcomponent is valid.
|
||||
|
||||
2003-10-31 Hans Petter Jansson <hpj@ximian.com>
|
||||
|
||||
* gui/calendar-component.c (calendar_component_init): Add the webcal
|
||||
|
@ -315,8 +315,11 @@ support_format_fn (EvolutionImporter *importer,
|
||||
if (contents) {
|
||||
icalcomp = icalparser_parse_string (contents);
|
||||
if (icalcomp) {
|
||||
icalcomponent_free (icalcomp);
|
||||
if (icalcomponent_is_valid (icalcomp))
|
||||
ret = TRUE;
|
||||
else
|
||||
ret = FALSE;
|
||||
icalcomponent_free (icalcomp);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user