diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-11-27 10:52:09 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-11-27 10:52:09 +0800 |
commit | 1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609 (patch) | |
tree | 370c7ab1ca9de9cf55ea91bf5b074b3ce080787d /calendar/gui/calendar-offline-handler.c | |
parent | 7abb26b3fb954e44f5bfcda777ac0aa24dbf6fee (diff) | |
download | gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.gz gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.zst gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.zip |
e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto.
2003-11-26 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () ->
e_cal_new_from_uri ().
(backend_go_online): Ditto.
(calendar_offline_handler_init): Ditto.
* gui/comp-editor-factory.c (open_client): Ditto.
* gui/e-itip-control.c (start_calendar_server): Ditto.
(object_requested_cb): Ditto.
* gui/e-tasks.c (e_tasks_add_todo_uri): Ditto.
* gui/gnome-cal.c (gnome_calendar_construct): Ditto.
(gnome_calendar_add_event_uri): Ditto.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto.
* importers/icalendar-importer.c (load_file_fn): Ditto.
(vcal_load_file_fn): Ditto.
(gnome_calendar_import_data_fn): Ditto.
* gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to
e_cal_new ().
svn path=/trunk/; revision=23498
Diffstat (limited to 'calendar/gui/calendar-offline-handler.c')
-rw-r--r-- | calendar/gui/calendar-offline-handler.c | 6 |
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; } |