aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.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/gnome-cal.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/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 7ecabf8c46..9bc7dbc951 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2032,7 +2032,7 @@ gnome_calendar_construct (GnomeCalendar *gcal)
/*
* TaskPad Folder Client.
*/
- priv->task_pad_client = e_cal_new ("", CALOBJ_TYPE_TODO); /* FIXME: use default tasks */
+ priv->task_pad_client = e_cal_new_from_uri ("", CALOBJ_TYPE_TODO); /* FIXME: use default tasks */
if (!priv->task_pad_client)
return NULL;
@@ -2161,7 +2161,7 @@ gnome_calendar_add_event_uri (GnomeCalendar *gcal, const char *str_uri)
if (client)
return TRUE;
- client = e_cal_new (str_uri, CALOBJ_TYPE_EVENT);
+ client = e_cal_new_from_uri (str_uri, CALOBJ_TYPE_EVENT);
g_hash_table_insert (priv->clients, g_strdup (str_uri), client);
priv->clients_list = g_list_prepend (priv->clients_list, client);