aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-01-10 02:17:52 +0800
committerDan Winship <danw@src.gnome.org>2003-01-10 02:17:52 +0800
commit60d236430a706fe3d1ebeb0d7d504d2c685c33e3 (patch)
tree2ca5c15a76703bbe5fe14baf02586e55ce62c876 /calendar/cal-util
parent6e9cb1e2bf29610e0d111572e72244b11542cc8d (diff)
downloadgsoc2013-evolution-60d236430a706fe3d1ebeb0d7d504d2c685c33e3.tar.gz
gsoc2013-evolution-60d236430a706fe3d1ebeb0d7d504d2c685c33e3.tar.zst
gsoc2013-evolution-60d236430a706fe3d1ebeb0d7d504d2c685c33e3.zip
Allow recur_id to be NULL to clear the recurrence id. (Based on a story by
* cal-util/cal-component.c (cal_component_set_recurid): Allow recur_id to be NULL to clear the recurrence id. (Based on a story by JP on evolution-1-2-recurid-branch) * gui/print.c: Remove unused gnome-print-copies.h #include * pcs/query.c (query_new): Use g_object_weak_ref rather than connecting to "destroy" (which doesn't actually exist on a CalBackend) (backend_destroyed_cb): Update prototype. svn path=/trunk/; revision=19365
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/cal-component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c
index 50c2ad95d8..a5300a9605 100644
--- a/calendar/cal-util/cal-component.c
+++ b/calendar/cal-util/cal-component.c
@@ -3238,7 +3238,7 @@ cal_component_set_recurid (CalComponent *comp, CalComponentRange *recur_id)
set_datetime (comp, &priv->recur_id.recur_time,
icalproperty_new_recurrenceid,
icalproperty_set_recurrenceid,
- &recur_id->datetime);
+ recur_id ? &recur_id->datetime : NULL);
}
/**