aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-06-01 19:42:39 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-06-01 19:42:39 +0800
commita55d7dc1e6f177d56de288bf3d2c653b65927fad (patch)
treeb09f23ffa66bd78bc62dccbce0f87a818055903d /calendar/gui
parent0f0fba1e81c46a4706b93a8efa4e19cf81d51592 (diff)
downloadgsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.gz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.bz2
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.lz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.xz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.zst
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.zip
Fixes #59369
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. svn path=/trunk/; revision=26142
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;