[evolution-kolab/ek-wip-porting] ECalBackendkolab: fixed wrong comparison in remove_objects()



commit 38183d293d5ee532ab28350d641ddca406a73142
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Mon Sep 10 15:48:21 2012 +0200

    ECalBackendkolab: fixed wrong comparison in remove_objects()

 src/calendar/e-cal-backend-kolab.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-kolab.c b/src/calendar/e-cal-backend-kolab.c
index 86fda76..131ab37 100644
--- a/src/calendar/e-cal-backend-kolab.c
+++ b/src/calendar/e-cal-backend-kolab.c
@@ -1303,7 +1303,7 @@ cal_backend_kolab_remove_objects (ECalBackendSync *backend,
 
 	if (*old_components != NULL)
 		oc_data = (*old_components)->data;
-	if (*new_components == NULL)
+	if (*new_components != NULL)
 		nc_data = (*new_components)->data;
 	
 	e_cal_backend_notify_component_removed (E_CAL_BACKEND (backend),



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