diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-04-05 15:45:39 +0000 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-04-05 15:45:39 +0000 |
commit | 8e68a8c0edb37b1f6778558b8a88fdb6fed51bff (patch) | |
tree | be8e6690cbb292bca22097e494859f7b0a584809 | |
parent | be5a70031663cad23f866ceba59c0226b2f64ddb (diff) | |
download | evolution-data-server-8e68a8c0edb37b1f6778558b8a88fdb6fed51bff.tar.gz |
Use correct types for e_cal_backend_groupwise_get_object's return value.
2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): Use correct types for
e_cal_backend_groupwise_get_object's return value.
-rw-r--r-- | calendar/ChangeLog | 13 | ||||
-rw-r--r-- | calendar/backends/groupwise/e-cal-backend-groupwise.c | 6 |
2 files changed, 16 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index bda92f4cd..43d5613f7 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-04-05 Rodrigo Moya <rodrigo@ximian.com> + + * backends/groupwise/e-cal-backend-groupwise.c + (e_cal_backend_groupwise_remove_object): Use correct types for + e_cal_backend_groupwise_get_object's return value. + 2004-04-03 JP Rosevear <jpr@ximian.com> Fixes #56416 @@ -14,6 +20,13 @@ 2004-04-02 Rodrigo Moya <rodrigo@ximian.com> + Fixes #51412 + + * backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object): + support being called with CALOBJ_MOD_THIS on the top level component. + +2004-04-02 Rodrigo Moya <rodrigo@ximian.com> + Fixes #55719 * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server): diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise.c b/calendar/backends/groupwise/e-cal-backend-groupwise.c index 5772abd0e..b6761c596 100644 --- a/calendar/backends/groupwise/e-cal-backend-groupwise.c +++ b/calendar/backends/groupwise/e-cal-backend-groupwise.c @@ -1004,14 +1004,14 @@ e_cal_backend_groupwise_remove_object (ECalBackendSync *backend, EDataCal *cal, /* if online, remove the item from the server */ if (priv->mode == CAL_MODE_REMOTE) { - EGwConnectionStatus status; + ECalBackendSyncStatus status; char *calobj, *id_to_remove = NULL; icalproperty *icalprop; icalcomponent *icalcomp; status = e_cal_backend_groupwise_get_object (backend, cal, uid, rid, &calobj); - if (status != E_GW_CONNECTION_STATUS_OK) - return GNOME_Evolution_Calendar_ObjectNotFound; + if (status != GNOME_Evolution_Calendar_Success) + return status; icalcomp = icalparser_parse_string (calobj); g_free (calobj); |