From 973ca5ea3d5d3b28cbf16865336c344864f652d8 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 30 Oct 2003 19:04:54 +0000 Subject: removed. 2003-10-30 Rodrigo Moya * gui/e-tasks.[ch] (e_tasks_get_cal_client): removed. * gui/tasks-control.c (sensitize_commands): fixed to work correctly with the ECalView's model. (tasks_control_set_property): don't use e_tasks_get_cal_client. * gui/alarm-notify/alarm-notify.c (free_client_hash): new function to remove items from the CalClient's hash table. (alarm_notify_finalize): call free_client_hash() for each item in the hash table. svn path=/trunk/; revision=23136 --- calendar/gui/e-tasks.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index cf4d79ba41..d094b3af56 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -857,27 +857,6 @@ backend_error_cb (CalClient *client, const char *message, gpointer data) g_free (urinopwd); } -/** - * e_tasks_get_cal_client: - * @tasks: An #ETasks. - * - * Queries the calendar client interface object that a tasks view is using. - * - * Return value: A calendar client interface object. - **/ -CalClient * -e_tasks_get_cal_client (ETasks *tasks) -{ - ETasksPrivate *priv; - - g_return_val_if_fail (E_IS_TASKS (tasks), NULL); - - priv = tasks->priv; - - return priv->client; -} - - void e_tasks_new_task (ETasks *tasks) { -- cgit v1.2.3