diff options
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 26cb27e1bf..b0269ba262 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -3204,7 +3204,7 @@ cal_component_set_url (CalComponent *comp, const char *url) priv = comp->priv; g_return_if_fail (priv->icalcomp != NULL); - if (!url) { + if (!url || !(*url)) { if (priv->url) { icalcomponent_remove_property (priv->icalcomp, priv->url); icalproperty_free (priv->url); |