diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 85d4f6e9c9..9fda443b83 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-06-10 Rodrigo Moya <rodrigo@novell.com> + + * 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. + 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c 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); |