Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.568
diff -u -p -r1.568 ChangeLog
--- calendar/ChangeLog	4 Mar 2006 10:29:06 -0000	1.568
+++ calendar/ChangeLog	20 Mar 2006 14:37:23 -0000
@@ -1,3 +1,10 @@
+2006-03-20  Chenthill Palanisamy  <pchenthill@novell.com>
+
+	Fixes #323275
+	* libedata-cal/e-cal-backend-cache.c:
+	(e_cal_backend_cache_constructor): Register only
+	if the type is not register before.
+
 2006-03-04  Chenthill Palanisamy  <pchenthill@novell.com>
 
 	Fixes #330974
Index: calendar/libedata-cal/e-cal-backend-cache.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libedata-cal/e-cal-backend-cache.c,v
retrieving revision 1.27
diff -u -p -r1.27 e-cal-backend-cache.c
--- calendar/libedata-cal/e-cal-backend-cache.c	19 Jan 2006 08:41:58 -0000	1.27
+++ calendar/libedata-cal/e-cal-backend-cache.c	20 Mar 2006 14:37:23 -0000
@@ -235,7 +235,9 @@ e_cal_backend_cache_get_type (void)
                         0,
                         (GInstanceInitFunc) e_cal_backend_cache_init,
                 };
-		type = g_type_register_static (E_TYPE_FILE_CACHE, "ECalBackendCache", &info, 0);
+		/* Check if the type is already registered */
+		if (!(type = g_type_from_name ("ECalBackendCache")))
+			type = g_type_register_static (E_TYPE_FILE_CACHE, "ECalBackendCache", &info, 0);
 	}
 	g_static_mutex_unlock (&registering);
 
