diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-01-22 23:45:08 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-01-22 23:45:08 +0800 |
commit | 03bacd4b8c2c425addbb08d69cfc94f7cc10a8ea (patch) | |
tree | 45ad2c02643dd1e20222916b6ded95f6a6fb9da6 /calendar/gui | |
parent | 2ab7c5c3e21b45320d2062e82f5698204456f79a (diff) | |
download | gsoc2013-evolution-03bacd4b8c2c425addbb08d69cfc94f7cc10a8ea.tar.gz gsoc2013-evolution-03bacd4b8c2c425addbb08d69cfc94f7cc10a8ea.tar.zst gsoc2013-evolution-03bacd4b8c2c425addbb08d69cfc94f7cc10a8ea.zip |
don't assert if we can't find the component, just continue with next item
2004-01-22 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-cal-model.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |