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/gnome-cal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 6521d8d5d5..ea87a840f6 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1876,7 +1876,7 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal) state = e_cal_get_load_state (ecal); if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED || status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED) - auth_cal_forget_password (ecal); + e_auth_cal_forget_password (ecal); switch (status) { case E_CALENDAR_STATUS_OK: @@ -1967,7 +1967,7 @@ default_client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar state = e_cal_get_load_state (ecal); if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED || status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED) - auth_cal_forget_password (ecal); + e_auth_cal_forget_password (ecal); switch (status) { case E_CALENDAR_STATUS_OK: @@ -2277,7 +2277,7 @@ gnome_calendar_set_default_source (GnomeCalendar *gcal, ESource *source) if (client) { priv->default_client = g_object_ref (client); } else { - priv->default_client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT); + priv->default_client = e_auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT); if (!priv->default_client) return FALSE; } -- cgit v1.2.3