summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2011-08-12 11:36:10 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2011-08-12 11:42:52 +0200
commit6afce789a566e0edc726ab94fd4307a3917253cf (patch)
treeade55ad1c2ddd1c9f5979f493cf8649f92fb2620
parentc58cf949c8fdcf56630d8db1ed24d1305548d89c (diff)
downloadevolution-data-server-6afce789a566e0edc726ab94fd4307a3917253cf.tar.gz
calendar file backend: fixed incomplete sanity check in e_cal_create_object(), part II
Cherry-picking from master lost one hunk for e_cal_backend_file_compute_changes_foreach_key(), causing compile errors. Here's the rest of the original patch for the gnome-2-32 branch.
-rw-r--r--calendar/backends/file/e-cal-backend-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/backends/file/e-cal-backend-file.c b/calendar/backends/file/e-cal-backend-file.c
index eddb28e41..a33df12ce 100644
--- a/calendar/backends/file/e-cal-backend-file.c
+++ b/calendar/backends/file/e-cal-backend-file.c
@@ -2076,7 +2076,7 @@ e_cal_backend_file_compute_changes_foreach_key (const gchar *key, gpointer value
{
ECalBackendFileComputeChangesData *be_data = data;
- if (!lookup_component (be_data->backend, key)) {
+ if (!uid_in_use (be_data->backend, key)) {
ECalComponent *comp;
comp = e_cal_component_new ();