aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gustavo.noronha@collabora.co.uk>2010-01-23 04:14:32 +0800
committerGustavo Noronha Silva <gustavo.noronha@collabora.co.uk>2010-01-27 21:23:36 +0800
commitd635b839f8d22746f44067464dc3c645aeeb8591 (patch)
tree066ae5e4f73ee2ff96d1ca5d6f3885213d1c3d44 /plugins
parent0e06ff46d0cc53ae2108219490c0bb9c7106d33a (diff)
downloadgsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar.gz
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar.bz2
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar.lz
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar.xz
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.tar.zst
gsoc2013-evolution-d635b839f8d22746f44067464dc3c645aeeb8591.zip
Make authentication functionality available
This involves renaming the calendar auth-related functions to have a prefix, and shipping the headers. Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
-rw-r--r--plugins/mail-to-task/mail-to-task.c2
-rw-r--r--plugins/publish-calendar/publish-format-fb.c2
-rw-r--r--plugins/publish-calendar/publish-format-ical.c2
-rw-r--r--plugins/save-calendar/csv-format.c2
-rw-r--r--plugins/save-calendar/ical-format.c2
-rw-r--r--plugins/save-calendar/rdf-format.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 65f9b58b70..e900cce920 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -545,7 +545,7 @@ start_calendar_server (struct _itip_puri *pitip, ESource *source, ECalSourceType
return ecal;
}
- ecal = auth_new_cal_from_source (source, type);
+ ecal = e_auth_new_cal_from_source (source, type);
if (!ecal)
return NULL;
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index fc62561a5e..17bc6a995b 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -988,7 +988,7 @@ mail_to_event (ECalSourceType source_type,
AsyncData *data = NULL;
GThread *thread = NULL;
- client = auth_new_cal_from_source (source, source_type);
+ client = e_auth_new_cal_from_source (source, source_type);
if (!client) {
gchar *uri = e_source_get_uri (source);
diff --git a/plugins/publish-calendar/publish-format-fb.c b/plugins/publish-calendar/publish-format-fb.c
index 01b4e7a926..e75dc79b2d 100644
--- a/plugins/publish-calendar/publish-format-fb.c
+++ b/plugins/publish-calendar/publish-format-fb.c
@@ -63,7 +63,7 @@ write_calendar (gchar *uid, ESourceList *source_list, GOutputStream *stream, gin
source = e_source_list_peek_source_by_uid (source_list, uid);
if (source)
- client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
+ client = e_auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
if (!client) {
if (error)
*error = g_error_new (e_calendar_error_quark (), E_CALENDAR_STATUS_NO_SUCH_CALENDAR, _("Could not publish calendar: Calendar backend no longer exists"));
diff --git a/plugins/publish-calendar/publish-format-ical.c b/plugins/publish-calendar/publish-format-ical.c
index f6e780daab..30312304e0 100644
--- a/plugins/publish-calendar/publish-format-ical.c
+++ b/plugins/publish-calendar/publish-format-ical.c
@@ -76,7 +76,7 @@ write_calendar (gchar *uid, ESourceList *source_list, GOutputStream *stream, GEr
source = e_source_list_peek_source_by_uid (source_list, uid);
if (source)
- client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
+ client = e_auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
if (!client) {
if (error)
*error = g_error_new (e_calendar_error_quark (), E_CALENDAR_STATUS_NO_SUCH_CALENDAR, _("Could not publish calendar: Calendar backend no longer exists"));
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index 63798106f1..a5256c4c36 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -323,7 +323,7 @@ do_save_calendar_csv (FormatHandler *handler, ESourceSelector *selector, ECalSou
primary_source = e_source_selector_peek_primary_selection (selector);
/* open source client */
- source_client = auth_new_cal_from_source (primary_source, type);
+ source_client = e_auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (selector)), error);
g_object_unref (source_client);
diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c
index 0c5a18f252..2458a14c1d 100644
--- a/plugins/save-calendar/ical-format.c
+++ b/plugins/save-calendar/ical-format.c
@@ -96,7 +96,7 @@ do_save_calendar_ical (FormatHandler *handler, ESourceSelector *selector, ECalSo
return;
/* open source client */
- source_client = (ECal*) auth_new_cal_from_source (primary_source, type);
+ source_client = (ECal*) e_auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (selector)), error->message);
g_object_unref (source_client);
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c
index fd6a263287..acbb6557c6 100644
--- a/plugins/save-calendar/rdf-format.c
+++ b/plugins/save-calendar/rdf-format.c
@@ -194,7 +194,7 @@ do_save_calendar_rdf (FormatHandler *handler, ESourceSelector *selector, ECalSou
primary_source = e_source_selector_peek_primary_selection (selector);
/* open source client */
- source_client = auth_new_cal_from_source (primary_source, type);
+ source_client = e_auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (selector)), error);
g_object_unref (source_client);