diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-06-11 23:55:14 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-06-11 23:55:14 +0800 |
commit | dfea2682ce1283f50465246789720feb40a77c68 (patch) | |
tree | c19c74e05c64174724b05493279d346321552292 /calendar/gui | |
parent | 31e744476cde1ba7c0c40ded3afaacc4c0d941db (diff) | |
download | gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar.gz gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar.bz2 gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar.lz gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar.xz gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.tar.zst gsoc2013-evolution-dfea2682ce1283f50465246789720feb40a77c68.zip |
removed g_assert call, since we shouldn't crash when getting wrong
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.
svn path=/trunk/; revision=26312
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 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); |