[evolution-data-server/gnome-2-32] calendar file backend: fixed incomplete sanity check in e_cal_create_object(), part II



commit f125722d5c8218e66a06a11217a17bccc674d5eb
Author: Patrick Ohly <patrick ohly intel com>
Date:   Fri Aug 12 11:36:10 2011 +0200

    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.

 calendar/backends/file/e-cal-backend-file.c |    2 +-
 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 49fe344..bd2bd1f 100644
--- a/calendar/backends/file/e-cal-backend-file.c
+++ b/calendar/backends/file/e-cal-backend-file.c
@@ -2082,7 +2082,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 ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]