[evolution-patches] Patches to fix #273975 (evolution-exchange/calendar and e-d-s/calendar/backend/groupwise)



Hi,

The attached patch(1) fixes,
http://bugzilla.gnome.org/show_bug.cgi?id=273975

The changes are made in
evolution-exchange/calendar/e-cal-backend-exchange.c

The callback function should take total three arguments, first two of
those should be (key,value) pair of the hash table. The third one should
be the user data passed.

The patch(1) is originally created by 
<prothonotar tarnation dyndns org> 

I found the similar problem in
evolution-data-server/calendar/backends/e-cal-backend-groupwise.c
Attaching the patch(2) to fix the problem there.

Thanks,
Vivek Jain



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.321
diff -u -p -r1.321 ChangeLog
--- ChangeLog	6 Apr 2005 13:16:43 -0000	1.321
+++ ChangeLog	11 Apr 2005 05:38:01 -0000
@@ -1,3 +1,12 @@
+2005-04-10  Vivek Jain  <jvivek novell com>
+
+	**Fixes #73975
+	Submitted by <prothonotar tarnation dyndns org>
+	* calendar/e-cal-backend-exchange-calendar.c
+	(e_cal_backend_exchange_compute_changes_foreach_key):
+	callback should take (key,value) pair as first two arguments and then
+	user-data	
+
 2005-04-06  Vivek Jain  <jvivek novell com>
 
 	**Fixes #74218
Index: calendar/e-cal-backend-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange.c,v
retrieving revision 1.32
diff -u -p -r1.32 e-cal-backend-exchange.c
--- calendar/e-cal-backend-exchange.c	15 Mar 2005 06:17:01 -0000	1.32
+++ calendar/e-cal-backend-exchange.c	11 Apr 2005 05:38:03 -0000
@@ -1260,7 +1260,7 @@ struct cbe_data {
 };
 
 static void
-e_cal_backend_exchange_compute_changes_foreach_key (const char *key, gpointer data)
+e_cal_backend_exchange_compute_changes_foreach_key (const char *key, const char *value, gpointer data)
 {
 	struct cbe_data *cbedata = data;
 	ECalBackendExchangeComponent *ecomp;
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.447
diff -u -p -r1.447 ChangeLog
--- ChangeLog	8 Apr 2005 16:07:42 -0000	1.447
+++ ChangeLog	11 Apr 2005 05:14:49 -0000
@@ -1,3 +1,10 @@
+2005-04-11  Vivek Jain <jvivek novell com>
+	
+	* backends/groupwise/e-cal-backend-groupwise.c :
+	(e_cal_backend_groupwise_compute_changes_foreach_key):
+	callback function should take (key, value)pair as first two arguments
+	and then the user data  	
+	
 2005-04-08  Rodrigo Moya <rodrigo novell com>
 
 	* libecal/e-cal-util.h: added new function's prototype.
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.141
diff -u -p -r1.141 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c	24 Mar 2005 08:40:24 -0000	1.141
+++ backends/groupwise/e-cal-backend-groupwise.c	11 Apr 2005 05:14:58 -0000
@@ -1212,7 +1212,7 @@ typedef struct {
 } ECalBackendGroupwiseComputeChangesData;
 
 static void
-e_cal_backend_groupwise_compute_changes_foreach_key (const char *key, gpointer data)
+e_cal_backend_groupwise_compute_changes_foreach_key (const char *key, const char *value, gpointer data)
 {
 	ECalBackendGroupwiseComputeChangesData *be_data = data;
                 


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