diff options
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r-- | calendar/gui/e-calendar-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |