+2004-04-02 Rodrigo Moya <rodrigo@ximian.com>
+
+ Fixes #55719
+
+ * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
+ use correct type for populate_cache's return value.
+ (e_cal_backend_groupwise_set_mode): use correct type for
+ connect_to_server's return value.
+
2004-03-30 JP Rosevear <jpr@ximian.com>
* backends/file/e-cal-backend-file.c: allow debugging code to be
GnomeVFSURI *vuri;
char *real_uri;
ECalBackendGroupwisePrivate *priv;
- ECalBackendSyncStatus status;
+ EGwConnectionStatus cnc_status;
priv = cbgw->priv;
/* Populate the cache for the first time.*/
/* start a timed polling thread set to 10 minutes*/
- status = populate_cache (cbgw);
- if (status != E_GW_CONNECTION_STATUS_OK) {
+ cnc_status = populate_cache (cbgw);
+ if (cnc_status != E_GW_CONNECTION_STATUS_OK) {
g_object_unref (priv->cnc);
priv->cnc = NULL;
g_warning (G_STRLOC ": Could not populate the cache");
g_object_ref (priv->cache);
g_timeout_add (CACHE_REFRESH_INTERVAL, (GSourceFunc) get_deltas, (gpointer) cbgw);
priv->mode = CAL_MODE_REMOTE;
+ return GNOME_Evolution_Calendar_Success;
}
-
- return status;
} else {
e_cal_backend_notify_error (E_CAL_BACKEND (cbgw), _("Authentication failed"));
return GNOME_Evolution_Calendar_AuthenticationFailed;
static void
e_cal_backend_groupwise_set_mode (ECalBackend *backend, CalMode mode)
{
- EGwConnectionStatus status;
+ ECalBackendSyncStatus status;
ECalBackendGroupwise *cbgw;
ECalBackendGroupwisePrivate *priv;