--- evolution-exchange-2.30.2/server/lib/e2k-types.h.orig	2010-10-25 16:08:05.103026000 +0800
+++ evolution-exchange-2.30.2/server/lib/e2k-types.h	2010-10-25 16:09:29.749497546 +0800
@@ -52,6 +52,8 @@
 		};					\
 		GType type = g_type_register_static (parent, #TypeName, &object_info, 0); \
 		g_once_init_leave (&type_id__volatile, type);	\
+		if (type_id__volatile == 0) \
+			type_id__volatile = g_type_from_name (#TypeName); \
 	}						\
 	return type_id__volatile;			\
 }
