From d635b839f8d22746f44067464dc3c645aeeb8591 Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Fri, 22 Jan 2010 18:14:32 -0200 Subject: 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 --- calendar/gui/dialogs/copy-source-dialog.c | 4 ++-- calendar/gui/dialogs/event-page.c | 2 +- calendar/gui/dialogs/memo-page.c | 2 +- calendar/gui/dialogs/task-page.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c index 095d10131d..aafe66a90f 100644 --- a/calendar/gui/dialogs/copy-source-dialog.c +++ b/calendar/gui/dialogs/copy-source-dialog.c @@ -86,7 +86,7 @@ copy_source (CopySourceDialogData *csdd) return FALSE; /* open the source */ - source_client = auth_new_cal_from_source (csdd->orig_source, csdd->obj_type); + source_client = e_auth_new_cal_from_source (csdd->orig_source, csdd->obj_type); if (!e_cal_open (source_client, TRUE, NULL)) { show_error (NULL, _("Could not open source")); g_object_unref (source_client); @@ -94,7 +94,7 @@ copy_source (CopySourceDialogData *csdd) } /* open the destination */ - dest_client = auth_new_cal_from_source (csdd->selected_source, csdd->obj_type); + dest_client = e_auth_new_cal_from_source (csdd->selected_source, csdd->obj_type); if (!e_cal_open (dest_client, FALSE, NULL)) { show_error (NULL, _("Could not open destination")); g_object_unref (dest_client); diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index b10932d0ad..bef407c8dd 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -2564,7 +2564,7 @@ source_changed_cb (ESourceComboBox *source_combo_box, EventPage *epage) editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (epage)); source = e_source_combo_box_get_active (source_combo_box); - 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) { icaltimezone *zone; diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 949836a330..f5c6a26400 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -855,7 +855,7 @@ source_changed_cb (ESourceComboBox *source_combo_box, flags = comp_editor_get_flags (editor); source = e_source_combo_box_get_active (source_combo_box); - 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); if (!client || !e_cal_open (client, FALSE, NULL)) { GtkWidget *dialog; diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 5bff292b37..33413250ad 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -1675,7 +1675,7 @@ source_changed_cb (ESourceComboBox *source_combo_box, TaskPage *tpage) if (comp_editor_page_get_updating (COMP_EDITOR_PAGE (tpage))) 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); if (client) { icaltimezone *zone; -- cgit