[evolution-ews] Do not try to reuse the same context twice when modifying an object that contains attachments
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Do not try to reuse the same context twice when modifying an object that contains attachments
- Date: Thu, 25 Aug 2011 10:16:36 +0000 (UTC)
commit 246767999d6f0b3795e69ba4c596b5389d34edc7
Author: Or Goshen <orx goshen intel com>
Date: Thu Aug 25 13:14:10 2011 +0300
Do not try to reuse the same context twice when modifying an object that contains attachments
src/calendar/e-cal-backend-ews.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index c8869c2..ea0c407 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1671,7 +1671,7 @@ ews_cal_modify_object_cb (GObject *object, GAsyncResult *res, gpointer user_data
else if (error) {
g_warning ("Modify object error : %s\n", error->message);
g_clear_error (&error);
- }
+ } else ews_start_sync (modify_data->cbews);
PRIV_LOCK (priv);
g_hash_table_replace (priv->item_id_hash, g_strdup(modify_data->itemid), g_object_ref (modify_data->comp));
@@ -2087,7 +2087,7 @@ e_cal_backend_ews_modify_object (ECalBackend *backend, EDataCal *cal, EServerMet
attach_data->cb_type = 2;
attach_data->oldcomp = g_object_ref (oldcomp);
attach_data->cal = g_object_ref (cal);
- attach_data->context = context;
+ attach_data->context = NULL;
attach_data->itemid = itemid;
attach_data->changekey = changekey;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]