[evolution-mapi] Avoid deprecated libedataserver APIs.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Avoid deprecated libedataserver APIs.
- Date: Sat, 12 Jan 2013 20:11:51 +0000 (UTC)
commit c28dbd806cfc1b9a5494696aa620fde0628684cd
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jan 12 15:10:30 2013 -0500
Avoid deprecated libedataserver APIs.
src/calendar/e-cal-backend-mapi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-mapi.c b/src/calendar/e-cal-backend-mapi.c
index 3bc3539..869b5fa 100644
--- a/src/calendar/e-cal-backend-mapi.c
+++ b/src/calendar/e-cal-backend-mapi.c
@@ -3204,7 +3204,7 @@ ecbm_op_create_objects (ECalBackend *backend,
op->base.cal = cal;
op->base.opid = opid;
op->base.cancellable = cancellable;
- op->calobjs = e_util_copy_string_slist (NULL, calobjs);
+ op->calobjs = g_slist_copy_deep (calobjs, (GCopyFunc) g_strdup, NULL);
e_mapi_operation_queue_push (priv->op_queue, op);
}
@@ -3239,7 +3239,7 @@ ecbm_op_modify_objects (ECalBackend *backend,
op->base.cal = cal;
op->base.opid = opid;
op->base.cancellable = cancellable;
- op->calobjs = e_util_copy_string_slist (NULL, calobjs);
+ op->calobjs = g_slist_copy_deep (calobjs, (GCopyFunc) g_strdup, NULL);
op->mod = mod;
e_mapi_operation_queue_push (priv->op_queue, op);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]