aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
parentf889afd350da4e9262b49b640f95af1a8589c9ba (diff)
downloadgsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.gz
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.bz2
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.lz
gsoc2013-evolution-fa2119e6809bb5f5bb31367e83ccbbc78a201599.tar.xz
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')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/pcs/query.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 164084bcf4..67264d9e35 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+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
+
2001-10-15 Damon Chaplin <damon@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: removed Help button. Do we have
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 */