aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-offline-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-offline-handler.c')
-rw-r--r--calendar/gui/calendar-offline-handler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar-offline-handler.c b/calendar/gui/calendar-offline-handler.c
index 55bca89cc7..89a7aab36e 100644
--- a/calendar/gui/calendar-offline-handler.c
+++ b/calendar/gui/calendar-offline-handler.c
@@ -183,7 +183,7 @@ backend_go_offline (gpointer data, gpointer user_data)
gboolean success;
GError *error = NULL;
- client = e_cal_new (uri, CALOBJ_TYPE_ANY);
+ client = e_cal_new_from_uri (uri, CALOBJ_TYPE_ANY);
g_signal_connect (client, "cal_opened", G_CALLBACK (backend_cal_opened_offline), offline_handler);
success = e_cal_open (client, TRUE, &error);
if (!success) {
@@ -204,7 +204,7 @@ backend_go_online (gpointer data, gpointer user_data)
gboolean success;
GError *error = NULL;
- client = e_cal_new (uri, CALOBJ_TYPE_ANY);
+ client = e_cal_new_from_uri (uri, CALOBJ_TYPE_ANY);
g_signal_connect (G_OBJECT (client), "cal_opened",
G_CALLBACK (backend_cal_opened_online), offline_handler);
success = e_cal_open (client, TRUE, &error);
@@ -327,7 +327,7 @@ calendar_offline_handler_init (CalendarOfflineHandler *offline_handler)
offline_handler->priv = priv;
/* FIXME: what URI to use? */
- priv->client = e_cal_new ("", CALOBJ_TYPE_ANY);
+ priv->client = e_cal_new_from_uri ("", CALOBJ_TYPE_ANY);
priv->listener_interface = CORBA_OBJECT_NIL;
priv->is_offline = FALSE;
}