diff options
author | JP Rosevear <jpr@src.gnome.org> | 2003-11-07 13:52:24 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-11-07 13:52:24 +0800 |
commit | 200606f92810d3de322e5ee96f8326e1a656f8bb (patch) | |
tree | da0dc27f5311128dcb6e7eb6400931e45743372e /calendar/gui/tasks-component.c | |
parent | e5472b4cc9a4bb80b89437a16f8b77943ea35555 (diff) | |
download | gsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.tar.gz gsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.tar.zst gsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.zip |
Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r-- | calendar/gui/tasks-component.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 4e5de7c692..bdbe34db72 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -29,7 +29,7 @@ #include <bonobo/bonobo-control.h> #include <bonobo/bonobo-i18n.h> #include <gconf/gconf-client.h> -#include "cal-client/cal-client.h" +#include <libecal/e-cal.h> #include "e-cal-model.h" #include "e-tasks.h" #include "tasks-component.h" @@ -53,7 +53,7 @@ struct _TasksComponentPrivate { static void add_uri_for_source (ESource *source, ETasks *tasks) { - CalClient *client; + ECal *client; ECalModel *model; GError *error = NULL; char *uri = e_source_get_uri (source); @@ -61,8 +61,8 @@ add_uri_for_source (ESource *source, ETasks *tasks) model = e_calendar_table_get_model (e_tasks_get_calendar_table (tasks)); client = e_cal_model_get_client_for_uri (model, uri); if (!client) { - client = cal_client_new (uri, CALOBJ_TYPE_TODO); - if (cal_client_open (client, FALSE, &error)) { + client = e_cal_new (uri, CALOBJ_TYPE_TODO); + if (e_cal_open (client, FALSE, &error)) { e_cal_model_add_client (model, client); } else { g_warning (G_STRLOC ": Could not open tasks at %s: %s", uri, error->message); @@ -77,7 +77,7 @@ add_uri_for_source (ESource *source, ETasks *tasks) static void remove_uri_for_source (ESource *source, ETasks *tasks) { - CalClient *client; + ECal *client; ECalModel *model; char *uri = e_source_get_uri (source); @@ -143,7 +143,7 @@ primary_source_selection_changed_cb (ESourceSelector *selector, TasksComponent * { TasksComponentPrivate *priv; ESource *source; - CalClient *client; + ECal *client; char *uri; ECalModel *model; |