diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-12-08 11:30:30 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-12-08 11:30:30 +0800 |
commit | 5bc3165d3bde4b2ee20ed777e672d7538d1a4839 (patch) | |
tree | 18395593a6f86802044d16d434da96e0ddb74452 /calendar/ChangeLog | |
parent | 2292afbc44a6e2421bc3c2f7e0bdeb18cc45b942 (diff) | |
download | gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar.gz gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar.bz2 gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar.lz gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar.xz gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.tar.zst gsoc2013-evolution-5bc3165d3bde4b2ee20ed777e672d7538d1a4839.zip |
(committed by Damon)
2001-11-09 Federico Mena Quintero <federico@ximian.com>
(committed by Damon)
Fix bug #14699.
* pcs/query.c (QueryState): Added a state QUERY_WAIT_FOR_BACKEND
to indicate that the query is not populated as we are waiting for
the backend to be opened.
(query_init): Start in the QUERY_WAIT_FOR_BACKEND state.
(query_destroy): Only disconnect from the backend if we are in a
state that implies that we are connected to its signals.
(query_construct): If the backend is already loaded, immediately
set the state to QUERY_START_PENDING.
(backend_opened_cb): Disconnect from the backend's "opened"
signal. Set the state to QUERY_START_PENDING.
(match_component): We can now only match components if the query
is in progress or if it is done. Assert to that effect, and do
not ensure_sexp().
(match_component): Do not check for a nonexistent component using
g_return_if_fail(). Also, there is no need to ref/unref the
component.
(backend_obj_updated_cb): Assert to the effect of our state.
(backend_obj_removed_cb): Likewise.
(parse_sexp): Renamed from ensure_sexp(). Assert that the query
has not started. Do not disconnect from the backend's signals
here, since we have no connections.
(start_query_cb): Set the state to QUERY_IN_PROGRESS here instead
of in populate_query().
svn path=/trunk/; revision=14941
Diffstat (limited to 'calendar/ChangeLog')
-rw-r--r-- | calendar/ChangeLog | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 067afc7e8a..ac5fdd96fa 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,33 @@ +2001-11-09 Federico Mena Quintero <federico@ximian.com> + + (committed by Damon) + + Fix bug #14699. + + * pcs/query.c (QueryState): Added a state QUERY_WAIT_FOR_BACKEND + to indicate that the query is not populated as we are waiting for + the backend to be opened. + (query_init): Start in the QUERY_WAIT_FOR_BACKEND state. + (query_destroy): Only disconnect from the backend if we are in a + state that implies that we are connected to its signals. + (query_construct): If the backend is already loaded, immediately + set the state to QUERY_START_PENDING. + (backend_opened_cb): Disconnect from the backend's "opened" + signal. Set the state to QUERY_START_PENDING. + (match_component): We can now only match components if the query + is in progress or if it is done. Assert to that effect, and do + not ensure_sexp(). + (match_component): Do not check for a nonexistent component using + g_return_if_fail(). Also, there is no need to ref/unref the + component. + (backend_obj_updated_cb): Assert to the effect of our state. + (backend_obj_removed_cb): Likewise. + (parse_sexp): Renamed from ensure_sexp(). Assert that the query + has not started. Do not disconnect from the backend's signals + here, since we have no connections. + (start_query_cb): Set the state to QUERY_IN_PROGRESS here instead + of in populate_query(). + 2001-12-07 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c (calendar_config_get_default_uri): |