aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-03-05 04:59:13 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-03-05 04:59:13 +0800
commit6c95c6da0e9d40216e05109b5f4acb92c5ab5256 (patch)
tree2301a7478bce5fd53fd601ab8accdb51e3b58fca /calendar/pcs/cal-backend.c
parentc538747217542d22af4bcf01d5dae8ec7301da58 (diff)
downloadgsoc2013-evolution-6c95c6da0e9d40216e05109b5f4acb92c5ab5256.tar.gz
gsoc2013-evolution-6c95c6da0e9d40216e05109b5f4acb92c5ab5256.tar.zst
gsoc2013-evolution-6c95c6da0e9d40216e05109b5f4acb92c5ab5256.zip
call cal_client_get_cal_address instead of cal_client_get_email_address
2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
Diffstat (limited to 'calendar/pcs/cal-backend.c')
-rw-r--r--calendar/pcs/cal-backend.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index 5e2074bad1..536501ce47 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -174,7 +174,7 @@ cal_backend_class_init (CalBackendClass *class)
class->obj_removed = NULL;
class->get_uri = NULL;
- class->get_email_address = NULL;
+ class->get_cal_address = NULL;
class->get_alarm_email_address = NULL;
class->get_static_capabilities = NULL;
class->open = NULL;
@@ -265,22 +265,22 @@ cal_backend_get_uri (CalBackend *backend)
}
/**
- * cal_backend_get_email_address:
+ * cal_backend_get_cal_address:
* @backend: A calendar backend.
*
- * Queries the email address associated with a calendar backend, which
+ * Queries the cal address associated with a calendar backend, which
* must already have an open calendar.
*
- * Return value: The email address associated with the calendar.
+ * Return value: The cal address associated with the calendar.
**/
const char *
-cal_backend_get_email_address (CalBackend *backend)
+cal_backend_get_cal_address (CalBackend *backend)
{
g_return_val_if_fail (backend != NULL, NULL);
g_return_val_if_fail (IS_CAL_BACKEND (backend), NULL);
- g_assert (CLASS (backend)->get_email_address != NULL);
- return (* CLASS (backend)->get_email_address) (backend);
+ g_assert (CLASS (backend)->get_cal_address != NULL);
+ return (* CLASS (backend)->get_cal_address) (backend);
}
const char *