From dfea2682ce1283f50465246789720feb40a77c68 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 11 Jun 2004 15:55:14 +0000 Subject: removed g_assert call, since we shouldn't crash when getting wrong 2004-06-10 Rodrigo Moya * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed g_assert call, since we shouldn't crash when getting wrong notifications from a backend. svn path=/trunk/; revision=26312 --- calendar/gui/e-cal-model.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 26d6d5ec7b..e315323472 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1264,7 +1264,8 @@ e_cal_view_objects_modified_cb (ECalView *query, GList *objects, gpointer user_d e_table_model_pre_change (E_TABLE_MODEL (model)); comp_data = search_by_uid_and_client (priv, e_cal_view_get_client (query), icalcomponent_get_uid (l->data)); - g_assert (comp_data); + if (!comp_data) + continue; if (comp_data->icalcomp) icalcomponent_free (comp_data->icalcomp); -- cgit v1.2.3