diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-29 11:15:54 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-29 11:15:54 +0800 |
commit | f6ee20d9097f3ba7bce189f3015e65721d328122 (patch) | |
tree | 11b2b4202964d1bc6256a089de5ee4c31aff0e2e /calendar/idl | |
parent | 572e5648458cab1d530f1cb219efafc853030ba0 (diff) | |
download | gsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.tar.gz gsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.tar.zst gsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.zip |
Fixes bug #7879, a query may receive an update notification from the
2001-08-28 Federico Mena Quintero <federico@ximian.com>
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
Diffstat (limited to 'calendar/idl')
-rw-r--r-- | calendar/idl/evolution-calendar.idl | 3 |
1 files changed, 1 insertions, 2 deletions
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) |