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/importers | |
parent | 7abb26b3fb954e44f5bfcda777ac0aa24dbf6fee (diff) | |
download | gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.gz gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.bz2 gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.lz gsoc2013-evolution-1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609.tar.xz 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/importers')
-rw-r--r-- | calendar/importers/icalendar-importer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c index 70906e1578..21e442e628 100644 --- a/calendar/importers/icalendar-importer.c +++ b/calendar/importers/icalendar-importer.c @@ -376,9 +376,9 @@ load_file_fn (EvolutionImporter *importer, /* create ECal's */ if (!ici->client) - ici->client = e_cal_new (real_uri, CALOBJ_TYPE_EVENT); + ici->client = e_cal_new_from_uri (real_uri, CALOBJ_TYPE_EVENT); if (!ici->tasks_client) - ici->tasks_client = e_cal_new ("", CALOBJ_TYPE_TODO); /* FIXME */ + ici->tasks_client = e_cal_new_from_uri ("", CALOBJ_TYPE_TODO); /* FIXME */ if (e_cal_open (ici->client, TRUE, NULL) && e_cal_open (ici->tasks_client, FALSE, NULL)) { @@ -528,9 +528,9 @@ vcal_load_file_fn (EvolutionImporter *importer, /* create ECal's */ if (!ici->client) - ici->client = e_cal_new (real_uri, CALOBJ_TYPE_EVENT); + ici->client = e_cal_new_from_uri (real_uri, CALOBJ_TYPE_EVENT); if (!ici->tasks_client) - ici->tasks_client = e_cal_new ("", CALOBJ_TYPE_TODO); + ici->tasks_client = e_cal_new_from_uri ("", CALOBJ_TYPE_TODO); if (e_cal_open (ici->client, TRUE, NULL) && e_cal_open (ici->tasks_client, FALSE, NULL)) { @@ -616,13 +616,13 @@ gnome_calendar_import_data_fn (EvolutionIntelligentImporter *ii, /* Try to open the default calendar & tasks folders. */ if (ici->do_calendar) { - calendar_client = e_cal_new ("", CALOBJ_TYPE_EVENT); /* FIXME: use default folder */ + calendar_client = e_cal_new_from_uri ("", CALOBJ_TYPE_EVENT); /* FIXME: use default folder */ if (!e_cal_open (calendar_client, FALSE, NULL)) goto out; } if (ici->do_tasks) { - tasks_client = e_cal_new ("", CALOBJ_TYPE_TODO); /* FIXME: use default folder */ + tasks_client = e_cal_new_from_uri ("", CALOBJ_TYPE_TODO); /* FIXME: use default folder */ if (!e_cal_open (tasks_client, FALSE, NULL)) goto out; } |