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



commit 6afce789a566e0edc726ab94fd4307a3917253cf
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 eddb28e..a33df12 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 ();



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