File bnc-456400-all-day-crash.diff of Package evolution-mono-providers
commit 37b09acb8be6a683d8f5d5f85c21728a0a82664c
Author: chenthill <chen@rocky.blr.novell.com>
Date: Tue Dec 2 12:02:54 2008 +0530
Fixes crash in all day events.
diff --git a/calendar/factory/e-cal-backend-mono.c b/calendar/factory/e-cal-backend-mono.c
index e2d3786..1c56383 100644
--- a/calendar/factory/e-cal-backend-mono.c
+++ b/calendar/factory/e-cal-backend-mono.c
@@ -586,8 +586,8 @@ e_cal_backend_mono_internal_get_default_timezone (ECalBackend *backend)
method = g_hash_table_lookup (priv->minfo->methods, "BackendInternalGetDefaultTimezone");
r = mono_loader_method_invoke (method, priv->this, NULL);
-
- zone = (icaltimezone *) mono_object_unbox (r);
+
+ zone = *(icaltimezone **) mono_object_unbox (r);
return zone;
}