diff options
author | JP Rosevear <jpr@ximian.com> | 2004-03-27 05:08:33 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-03-27 05:08:33 +0800 |
commit | 42a69015c27ea99cbca715330380b4b724c62a41 (patch) | |
tree | 4b3b9642f7e98b1dabc331a361c6dcb73b96d90a | |
parent | 375d7a4cab817fe72e9caa71dbdeb573ab0a8d74 (diff) | |
download | gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar.gz gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar.bz2 gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar.lz gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar.xz gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.tar.zst gsoc2013-evolution-42a69015c27ea99cbca715330380b4b724c62a41.zip |
guard against the case that we redo queries while still waiting for a
2004-03-26 JP Rosevear <jpr@ximian.com>
* gui/e-cal-model.c (update_e_cal_view_for_client): guard against
the case that we redo queries while still waiting for a client to
open
svn path=/trunk/; revision=25205
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 5ad7c522b4..e3e41de86f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-03-26 JP Rosevear <jpr@ximian.com> + + * gui/e-cal-model.c (update_e_cal_view_for_client): guard against + the case that we redo queries while still waiting for a client to + open + 2004-03-26 JP Rosevear <jpr@ximian.com> Fixes #53134 diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 1e8acf3334..da375d00e9 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1309,6 +1309,10 @@ update_e_cal_view_for_client (ECalModel *model, ECalModelClient *client_data) priv = model->priv; + /* Skip if this client has not finished loading yet */ + if (e_cal_get_load_state (client_data->client) != E_CAL_LOAD_LOADED) + return; + /* free the previous query, if any */ if (client_data->query) { g_signal_handlers_disconnect_matched (client_data->query, G_SIGNAL_MATCH_DATA, |