aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-11-27 10:52:09 +0800
committerHans Petter <hansp@src.gnome.org>2003-11-27 10:52:09 +0800
commit1f63ae9e3a24111bbe7c9ebe179eb7c9fad87609 (patch)
tree370c7ab1ca9de9cf55ea91bf5b074b3ce080787d /calendar/gui/e-itip-control.c
parent7abb26b3fb954e44f5bfcda777ac0aa24dbf6fee (diff)
downloadgsoc2013-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/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 95341b1fdf..5819daa7d9 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -135,7 +135,7 @@ start_calendar_server (EItipControl *itip, char *uri)
ECal *client;
GError *error = NULL;
- client = e_cal_new (uri, CALOBJ_TYPE_EVENT);
+ client = e_cal_new_from_uri (uri, CALOBJ_TYPE_EVENT);
if (!e_cal_open (client, TRUE, &error)) {
g_warning (_("start_calendar_server(): %s"), error->message);
@@ -2209,11 +2209,11 @@ object_requested_cb (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data)
switch (vtype) {
case E_CAL_COMPONENT_EVENT:
- context->client = e_cal_new ("", CALOBJ_TYPE_EVENT);
+ context->client = e_cal_new_from_uri ("", CALOBJ_TYPE_EVENT);
success = start_default_server (itip, context->client, FALSE);
break;
case E_CAL_COMPONENT_TODO:
- context->client = e_cal_new ("", CALOBJ_TYPE_TODO);
+ context->client = e_cal_new_from_uri ("", CALOBJ_TYPE_TODO);
success = start_default_server (itip, context->client, TRUE);
break;
default: