[evolution-ews] Hm, now it crashes when there *isn't* an error. Somewhat suboptimal...



commit b48926ce915a5aefa1f76a9070aca2d831be1410
Author: David Woodhouse <David Woodhouse intel com>
Date:   Fri May 6 23:59:31 2011 +0100

    Hm, now it crashes when there *isn't* an error. Somewhat suboptimal...

 src/calendar/e-cal-backend-ews.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 837d337..9188816 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1733,7 +1733,7 @@ ews_cal_sync_items_ready_cb (GObject *obj, GAsyncResult *res, gpointer user_data
 					       EDC_ERROR(AuthenticationFailed));
 		} else {
 			e_data_cal_notify_open(priv->opening_cal, priv->opening_ctx,
-					       g_error_copy (error));
+					       error?g_error_copy (error):NULL);
 		}
 		priv->opening_ctx = NULL;
 		priv->opening_cal = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]