[evolution-data-server] Remove unused e_cal_backend_cache_remove_timezone().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused e_cal_backend_cache_remove_timezone().
- Date: Sat, 5 Jan 2013 03:00:30 +0000 (UTC)
commit ea46f9751d042c60f476a46596f90ef4d4a36428
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jan 3 09:13:21 2013 -0500
Remove unused e_cal_backend_cache_remove_timezone().
calendar/libedata-cal/e-cal-backend-cache.c | 25 --------------------
calendar/libedata-cal/e-cal-backend-cache.h | 3 --
.../libedata-cal/libedata-cal-sections.txt | 1 -
3 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend-cache.c b/calendar/libedata-cal/e-cal-backend-cache.c
index 3082950..24b59f9 100644
--- a/calendar/libedata-cal/e-cal-backend-cache.c
+++ b/calendar/libedata-cal/e-cal-backend-cache.c
@@ -523,31 +523,6 @@ e_cal_backend_cache_get_default_timezone (ECalBackendCache *cache)
}
/**
- * e_cal_backend_cache_remove_timezone:
- * @cache: An #ECalBackendCache object.
- * @tzid: ID of the timezone to remove.
- *
- * Removes a timezone component from the cache.
- *
- * Returns: TRUE if the timezone was removed, FALSE otherwise.
- */
-gboolean
-e_cal_backend_cache_remove_timezone (ECalBackendCache *cache,
- const gchar *tzid)
-{
- ECalBackendCachePrivate *priv;
-
- g_return_val_if_fail (E_IS_CAL_BACKEND_CACHE (cache), FALSE);
- g_return_val_if_fail (tzid != NULL, FALSE);
-
- priv = cache->priv;
-
- g_hash_table_remove (priv->timezones, tzid);
-
- return e_file_cache_remove_object (E_FILE_CACHE (cache), tzid);
-}
-
-/**
* e_cal_backend_cache_get_keys:
* @cache: An #ECalBackendCache object.
*
diff --git a/calendar/libedata-cal/e-cal-backend-cache.h b/calendar/libedata-cal/e-cal-backend-cache.h
index 03f2420..6070133 100644
--- a/calendar/libedata-cal/e-cal-backend-cache.h
+++ b/calendar/libedata-cal/e-cal-backend-cache.h
@@ -87,9 +87,6 @@ const icaltimezone *
const gchar *tzid);
gboolean e_cal_backend_cache_put_timezone (ECalBackendCache *cache,
const icaltimezone *zone);
-gboolean e_cal_backend_cache_remove_timezone
- (ECalBackendCache *cache,
- const gchar *tzid);
gboolean e_cal_backend_cache_put_default_timezone
(ECalBackendCache *cache,
icaltimezone *default_zone);
diff --git a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
index c8a65af..a8e7c72 100644
--- a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
+++ b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
@@ -83,7 +83,6 @@ e_cal_backend_cache_get_components
e_cal_backend_cache_get_components_by_uid
e_cal_backend_cache_get_timezone
e_cal_backend_cache_put_timezone
-e_cal_backend_cache_remove_timezone
e_cal_backend_cache_put_default_timezone
e_cal_backend_cache_get_default_timezone
e_cal_backend_cache_get_keys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]