aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-06-11 23:55:14 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-06-11 23:55:14 +0800
commitdfea2682ce1283f50465246789720feb40a77c68 (patch)
treec19c74e05c64174724b05493279d346321552292 /calendar/gui
parent31e744476cde1ba7c0c40ded3afaacc4c0d941db (diff)
downloadgsoc2013-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.c3
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);