[evolution-data-server] e_cal_backend_store_set_default_timezone(): Remove const qualifier.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] e_cal_backend_store_set_default_timezone(): Remove const qualifier.
- Date: Sat, 5 Jan 2013 03:00:40 +0000 (UTC)
commit c4829834328066bdadf16ba05f64bd6a968b43ad
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jan 3 10:05:10 2013 -0500
e_cal_backend_store_set_default_timezone(): Remove const qualifier.
Same justification as previous commit.
calendar/libedata-cal/e-cal-backend-store.c | 8 ++++----
calendar/libedata-cal/e-cal-backend-store.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend-store.c b/calendar/libedata-cal/e-cal-backend-store.c
index e1b9093..32b9e66 100644
--- a/calendar/libedata-cal/e-cal-backend-store.c
+++ b/calendar/libedata-cal/e-cal-backend-store.c
@@ -678,7 +678,7 @@ cal_backend_store_get_default_timezone (ECalBackendStore *store)
static gboolean
cal_backend_store_set_default_timezone (ECalBackendStore *store,
- const icaltimezone *zone)
+ icaltimezone *zone)
{
const gchar *tzid;
icaltimezone *copy;
@@ -686,8 +686,8 @@ cal_backend_store_set_default_timezone (ECalBackendStore *store,
g_rw_lock_writer_lock (&store->priv->lock);
- tzid = icaltimezone_get_tzid ((icaltimezone *) zone);
- copy = copy_timezone ((icaltimezone *) zone);
+ tzid = icaltimezone_get_tzid (zone);
+ copy = copy_timezone (zone);
g_hash_table_insert (store->priv->timezones, g_strdup (tzid), copy);
if (e_file_cache_get_object (store->priv->keys_cache, key))
@@ -1186,7 +1186,7 @@ e_cal_backend_store_get_default_timezone (ECalBackendStore *store)
**/
gboolean
e_cal_backend_store_set_default_timezone (ECalBackendStore *store,
- const icaltimezone *zone)
+ icaltimezone *zone)
{
ECalBackendStoreClass *class;
diff --git a/calendar/libedata-cal/e-cal-backend-store.h b/calendar/libedata-cal/e-cal-backend-store.h
index 978e5fe..b028a02 100644
--- a/calendar/libedata-cal/e-cal-backend-store.h
+++ b/calendar/libedata-cal/e-cal-backend-store.h
@@ -93,7 +93,7 @@ struct _ECalBackendStoreClass {
const icaltimezone *
(*get_default_timezone) (ECalBackendStore *store);
gboolean (*set_default_timezone) (ECalBackendStore *store,
- const icaltimezone *zone);
+ icaltimezone *zone);
void (*thaw_changes) (ECalBackendStore *store);
void (*freeze_changes) (ECalBackendStore *store);
const gchar * (*get_key_value) (ECalBackendStore *store,
@@ -140,7 +140,7 @@ const icaltimezone *
(ECalBackendStore *store);
gboolean e_cal_backend_store_set_default_timezone
(ECalBackendStore *store,
- const icaltimezone *zone);
+ icaltimezone *zone);
GSList * e_cal_backend_store_get_components_by_uid
(ECalBackendStore *store,
const gchar *uid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]