From fa2119e6809bb5f5bb31367e83ccbbc78a201599 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 17 Oct 2001 16:34:40 +0000 Subject: there may be cases when the backend will return an invalid component from 2001-10-17 Rodrigo Moya * 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 --- calendar/pcs/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/pcs') 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 */ -- cgit v1.2.3