diff options
author | JP Rosevear <jpr@novell.com> | 2004-07-24 22:28:59 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-07-24 22:28:59 +0800 |
commit | 379c7e83aaf23c92e969042d66dfd6a96457c21f (patch) | |
tree | d20777e4dd3db2cb3ca7ee9f3b0f2abd55ac1d67 /calendar/gui/e-cal-model.c | |
parent | 51a756b5a2abae5628fd139df4b9f9c4ef946f5c (diff) | |
download | gsoc2013-evolution-379c7e83aaf23c92e969042d66dfd6a96457c21f.tar.gz gsoc2013-evolution-379c7e83aaf23c92e969042d66dfd6a96457c21f.tar.zst gsoc2013-evolution-379c7e83aaf23c92e969042d66dfd6a96457c21f.zip |
Fixes #61760
2004-07-23 JP Rosevear <jpr@novell.com>
Fixes #61760
* gui/e-cal-model.c (add_new_client): don't check against the URI,
just against the client
svn path=/trunk/; revision=26720
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r-- | calendar/gui/e-cal-model.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index c9b9c7086c..56d48e41fa 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1464,12 +1464,9 @@ add_new_client (ECalModel *model, ECal *client, gboolean do_query) priv = model->priv; - /* Look for an existing client with the same URI */ - existing_client = e_cal_model_get_client_for_uri (model, e_cal_get_uri (client)); - if (existing_client) { - client_data = find_client_data (model, client); - g_assert (client_data); - + /* Look to see if we already have this client */ + client_data = find_client_data (model, client); + if (client_data) { if (!client_data->do_query) client_data->do_query = do_query; |