From a438aa5f69c565af00a37e147c297b3b74de49cd Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 28 Apr 2004 14:01:01 +0000 Subject: [PATCH] Fixes #57080 2004-04-28 JP Rosevear Fixes #57080 * libedata-cal/e-cal-backend.c (e_cal_backend_notify_object_modified): make sure the item was actually in the query before so we don't send bogus removes --- calendar/ChangeLog | 8 ++++++++ calendar/libedata-cal/e-cal-backend.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 96fd700..4a6819b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2004-04-28 JP Rosevear + + Fixes #57080 + + * libedata-cal/e-cal-backend.c + (e_cal_backend_notify_object_modified): make sure the item was + actually in the query before so we don't send bogus removes + 2004-04-27 Harish Krishnaswamy Fixes #56535 diff --git a/calendar/libedata-cal/e-cal-backend.c b/calendar/libedata-cal/e-cal-backend.c index 2d3f158..6a75c8b 100644 --- a/calendar/libedata-cal/e-cal-backend.c +++ b/calendar/libedata-cal/e-cal-backend.c @@ -1046,7 +1046,7 @@ e_cal_backend_notify_object_modified (ECalBackend *backend, e_data_cal_view_notify_objects_modified_1 (query, object); else if (new_match) e_data_cal_view_notify_objects_added_1 (query, object); - else /* if (old_match) */ { + else if (old_match) { icalcomponent *comp; comp = icalcomponent_new_from_string ((char *)old_object); -- 2.7.4