aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-18 00:34:40 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-18 00:34:40 +0800
commitfa2119e6809bb5f5bb31367e83ccbbc78a201599 (patch)
treed4d7d81c4af493fdc5aaed6b1154e4c7e369937d /calendar/pcs
parentf889afd350da4e9262b49b640f95af1a8589c9ba (diff)
downloadgsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.gz
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.zst
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.zip
there may be cases when the backend will return an invalid component from
2001-10-17 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (match_component): there may be cases when the backend will return an invalid component from a valid UID (an UID returned by the get_uids method), so don't abort if that's the case svn path=/trunk/; revision=13725
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/pcs/query.c b/calendar/pcs/query.c
index 8ae9cfa697..0fd8a8a847 100644
--- a/calendar/pcs/query.c
+++ b/calendar/pcs/query.c
@@ -1116,7 +1116,7 @@ match_component (Query *query, const char *uid,
return;
comp = cal_backend_get_object_component (priv->backend, uid);
- g_assert (comp != NULL);
+ g_return_if_fail (comp != NULL);
gtk_object_ref (GTK_OBJECT (comp));
/* Eval the sexp */