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
This commit is contained in:
Rodrigo Moya
2001-10-17 16:34:40 +00:00
committed by Rodrigo Moya
parent f889afd350
commit fa2119e680
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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 */