From 03bacd4b8c2c425addbb08d69cfc94f7cc10a8ea Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 22 Jan 2004 15:45:08 +0000 Subject: don't assert if we can't find the component, just continue with next item 2004-01-22 Rodrigo Moya * gui/e-cal-model.c (e_cal_view_objects_removed_cb): don't assert if we can't find the component, just continue with next item in the list. svn path=/trunk/; revision=24365 --- calendar/gui/e-cal-model.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-cal-model.c') diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index cb463deb21..26283e3b32 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1215,7 +1215,8 @@ e_cal_view_objects_removed_cb (ECalView *query, GList *uids, gpointer user_data) e_table_model_pre_change (E_TABLE_MODEL (model)); comp_data = search_by_uid_and_client (priv, e_cal_view_get_client (query), l->data); - g_assert (comp_data); + if (!comp_data) + continue; pos = get_position_in_array (priv->objects, comp_data); -- cgit v1.2.3