aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-calendar-view.c3
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;