From f6ee20d9097f3ba7bce189f3015e65721d328122 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 29 Aug 2001 03:15:54 +0000 Subject: Fixes bug #7879, a query may receive an update notification from the 2001-08-28 Federico Mena Quintero Fixes bug #7879, a query may receive an update notification from the backend before the query itself gets populated. * pcs/query.c (ensure_sexp): New function; ensures that the esexp is created and notifies of parse errors. It is the bulk of start_query_cb() but put in a separate function so that we can share it elsewhere. (start_query_cb): Use ensure_sexp(). (process_component_cb): Oops, notify of a successfully finished query. (match_component): Call ensure_sexp(). This function can be called by the backend notification callbacks before the query is populated, so we need to make sure the esexp exists here. svn path=/trunk/; revision=12509 --- calendar/idl/evolution-calendar.idl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calendar/idl/evolution-calendar.idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 7f4a850ecb..c236f26649 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -288,12 +288,11 @@ module Calendar { interface CompEditorFactory : Bonobo::Unknown { exception InvalidURI {}; exception BackendContactError {}; - exception NotFound {}; exception UnsupportedType {}; /* Loads a calendar and opens an editor for the specified object */ void editExisting (in string uri, in CalObjUID uid) - raises (InvalidURI, BackendContactError, NotFound, UnsupportedType); + raises (InvalidURI, BackendContactError); /* Loads a calendar and creates a new component of the specified type */ void editNew (in string uri, in CalObjType type) -- cgit v1.2.3