aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-12-08 11:30:30 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-12-08 11:30:30 +0800
commit5bc3165d3bde4b2ee20ed777e672d7538d1a4839 (patch)
tree18395593a6f86802044d16d434da96e0ddb74452 /mail/mail-mt.c
parent2292afbc44a6e2421bc3c2f7e0bdeb18cc45b942 (diff)
downloadgsoc2013-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 'mail/mail-mt.c')
0 files changed, 0 insertions, 0 deletions