[evolution-patches] Fix for a hang in offline gw calendar



Hi,
 Have attached the patch for the hang.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.418
diff -u -p -r1.418 ChangeLog
--- ChangeLog	10 Feb 2005 08:40:41 -0000	1.418
+++ ChangeLog	10 Feb 2005 13:42:26 -0000
@@ -1,5 +1,10 @@
 2005-02-10  Chenthill Palanisamy  <pchenthill novell com>
 
+	* backends/groupwise/e-cal-backend-groupwise.c:
+	(e_cal_backend_groupwise_open): insert a g_mutex_unlock.
+
+2005-02-10  Chenthill Palanisamy  <pchenthill novell com>
+
 	Fixes a crash
 	* backends/groupwise/e-cal-backend-groupwise-utils.c:
 	(e_gw_item_to_cal_component): Check whether the creation 
Index: backends/groupwise/e-cal-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v
retrieving revision 1.126
diff -u -p -r1.126 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c	8 Feb 2005 08:48:51 -0000	1.126
+++ backends/groupwise/e-cal-backend-groupwise.c	10 Feb 2005 13:42:27 -0000
@@ -806,6 +806,7 @@ e_cal_backend_groupwise_open (ECalBacken
 		display_contents = e_source_get_property (source, "offline_sync");
 		
 		if (!display_contents || !g_str_equal (display_contents, "1")) {
+			g_mutex_unlock (priv->mutex);	
 			return GNOME_Evolution_Calendar_RepositoryOffline;
 		}
 


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