aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
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 /modules/calendar
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 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-attachment-handler.c2
-rw-r--r--modules/calendar/e-cal-shell-backend.c6
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c4
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c4
-rw-r--r--modules/calendar/e-memo-shell-backend.c6
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c4
-rw-r--r--modules/calendar/e-task-shell-backend.c6
-rw-r--r--modules/calendar/e-task-shell-sidebar.c4
8 files changed, 18 insertions, 18 deletions
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c
index 6453f14be2..b532af85e5 100644
--- a/modules/calendar/e-cal-attachment-handler.c
+++ b/modules/calendar/e-cal-attachment-handler.c
@@ -298,7 +298,7 @@ attachment_handler_run_dialog (GtkWindow *parent,
if (source == NULL)
goto exit;
- client = auth_new_cal_from_source (source, source_type);
+ client = e_auth_new_cal_from_source (source, source_type);
if (client == NULL)
goto exit;
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index 232e8461c3..30bad0a4bf 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -402,12 +402,12 @@ action_event_new_cb (GtkAction *action,
source = e_source_list_peek_source_by_uid (source_list, uid);
if (source != NULL)
- cal = auth_new_cal_from_source (source, source_type);
+ cal = e_auth_new_cal_from_source (source, source_type);
g_free (uid);
}
if (cal == NULL)
- cal = auth_new_cal_from_default (source_type);
+ cal = e_auth_new_cal_from_default (source_type);
g_return_if_fail (cal != NULL);
@@ -598,7 +598,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
goto exit;
}
- client = auth_new_cal_from_source (source, source_type);
+ client = e_auth_new_cal_from_source (source, source_type);
if (client == NULL || !e_cal_open (client, TRUE, &error)) {
if (error != NULL) {
g_printerr ("%s\n", error->message);
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 62fc30202f..390be5e6da 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -173,7 +173,7 @@ cal_shell_sidebar_client_opened_cb (ECalShellSidebar *cal_shell_sidebar,
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
- auth_cal_forget_password (client);
+ e_auth_cal_forget_password (client);
switch (status) {
case E_CALENDAR_STATUS_OK:
@@ -750,7 +750,7 @@ e_cal_shell_sidebar_add_source (ECalShellSidebar *cal_shell_sidebar,
if (client != NULL)
return;
- 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);
g_return_if_fail (client != NULL);
g_signal_connect_swapped (
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index ca50b56cd9..19fc7e6c53 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -529,7 +529,7 @@ action_event_copy_cb (GtkAction *action,
return;
/* Open the destination calendar. */
- destination_client = auth_new_cal_from_source (
+ destination_client = e_auth_new_cal_from_source (
destination_source, E_CAL_SOURCE_TYPE_EVENT);
if (destination_client == NULL)
goto exit;
@@ -784,7 +784,7 @@ action_event_move_cb (GtkAction *action,
return;
/* Open the destination calendar. */
- destination_client = auth_new_cal_from_source (
+ destination_client = e_auth_new_cal_from_source (
destination_source, E_CAL_SOURCE_TYPE_EVENT);
if (destination_client == NULL)
goto exit;
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c
index 10a1ea99e7..d86289d148 100644
--- a/modules/calendar/e-memo-shell-backend.c
+++ b/modules/calendar/e-memo-shell-backend.c
@@ -279,12 +279,12 @@ action_memo_new_cb (GtkAction *action,
source = e_source_list_peek_source_by_uid (source_list, uid);
if (source != NULL)
- cal = auth_new_cal_from_source (source, source_type);
+ cal = e_auth_new_cal_from_source (source, source_type);
g_free (uid);
}
if (cal == NULL)
- cal = auth_new_cal_from_default (source_type);
+ cal = e_auth_new_cal_from_default (source_type);
g_return_if_fail (cal != NULL);
@@ -424,7 +424,7 @@ memo_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
goto exit;
}
- client = auth_new_cal_from_source (source, source_type);
+ client = e_auth_new_cal_from_source (source, source_type);
if (client == NULL || !e_cal_open (client, TRUE, &error)) {
if (error != NULL) {
g_printerr ("%s\n", error->message);
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index 403e733d22..e76341c83a 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -170,7 +170,7 @@ memo_shell_sidebar_client_opened_cb (EMemoShellSidebar *memo_shell_sidebar,
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
- auth_cal_forget_password (client);
+ e_auth_cal_forget_password (client);
switch (status) {
case E_CALENDAR_STATUS_OK:
@@ -677,7 +677,7 @@ e_memo_shell_sidebar_add_source (EMemoShellSidebar *memo_shell_sidebar,
if (client != NULL)
return;
- client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_JOURNAL);
+ client = e_auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_JOURNAL);
g_return_if_fail (client != NULL);
g_signal_connect_swapped (
diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c
index 1a8bee5a03..1db691497c 100644
--- a/modules/calendar/e-task-shell-backend.c
+++ b/modules/calendar/e-task-shell-backend.c
@@ -283,12 +283,12 @@ action_task_new_cb (GtkAction *action,
source = e_source_list_peek_source_by_uid (source_list, uid);
if (source != NULL)
- cal = auth_new_cal_from_source (source, source_type);
+ cal = e_auth_new_cal_from_source (source, source_type);
g_free (uid);
}
if (cal == NULL)
- cal = auth_new_cal_from_default (source_type);
+ cal = e_auth_new_cal_from_default (source_type);
g_return_if_fail (cal != NULL);
@@ -429,7 +429,7 @@ task_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
goto exit;
}
- client = auth_new_cal_from_source (source, source_type);
+ client = e_auth_new_cal_from_source (source, source_type);
if (client == NULL || !e_cal_open (client, TRUE, &error)) {
if (error != NULL) {
g_printerr ("%s\n", error->message);
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index 992ccf8b91..7708f7234a 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -168,7 +168,7 @@ task_shell_sidebar_client_opened_cb (ETaskShellSidebar *task_shell_sidebar,
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
- auth_cal_forget_password (client);
+ e_auth_cal_forget_password (client);
switch (status) {
case E_CALENDAR_STATUS_OK:
@@ -675,7 +675,7 @@ e_task_shell_sidebar_add_source (ETaskShellSidebar *task_shell_sidebar,
if (client != NULL)
return;
- client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_TODO);
+ client = e_auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_TODO);
g_return_if_fail (client != NULL);
g_signal_connect_swapped (