diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 43c138d09d..f637e4783a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,4 +1,11 @@ -2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net> +2004-06-01 Rodrigo Moya <rodrigo@novell.com> + + Fixes #59369 + + * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings + to libical functions. + +2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net> * Bug #51968 "Invite others.." button confusing in Appointment editor dialog(Fixed)" diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 9ae3c1796c..87fed472ea 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -731,6 +731,9 @@ clipboard_get_text_cb (GtkClipboard *clipboard, const gchar *text, ECalendarView g_return_if_fail (E_IS_CALENDAR_VIEW (cal_view)); + if (!text || !*text) + return; + icalcomp = icalparser_parse_string ((const char *) text); if (!icalcomp) return; |