[evolution-data-server] Add start date variable to EGwItemCalId.



commit 98481a9043753e27ac45dfe4171c0ce591b86d87
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Fri Jul 24 14:03:00 2009 +0530

    Add start date variable to EGwItemCalId.

 servers/groupwise/e-gw-connection.c |    2 +-
 servers/groupwise/e-gw-item.c       |    5 +++++
 servers/groupwise/e-gw-item.h       |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c
index 028b63e..2ea370d 100644
--- a/servers/groupwise/e-gw-connection.c
+++ b/servers/groupwise/e-gw-connection.c
@@ -3771,7 +3771,7 @@ e_gw_connection_read_cal_ids (EGwConnection *cnc, const gchar *container, gint c
 				id = soup_soap_parameter_get_string_value (param_id);
 				formatted_date = e_gw_connection_format_date_string (id);
 				 /* store the date in calid for recurring events */
-				calid->ical_id = formatted_date;
+				calid->start_date = formatted_date;
 				g_free (id);
 			}
 
diff --git a/servers/groupwise/e-gw-item.c b/servers/groupwise/e-gw-item.c
index 6e65f8a..8c35531 100644
--- a/servers/groupwise/e-gw-item.c
+++ b/servers/groupwise/e-gw-item.c
@@ -625,6 +625,11 @@ e_gw_item_free_cal_id (EGwItemCalId *calid)
 		calid->recur_key = NULL;
 	}
 
+	if (calid->start_date) {
+		g_free (calid->start_date);
+		calid->start_date = NULL;
+	}
+
 	g_free (calid);
 }
 
diff --git a/servers/groupwise/e-gw-item.h b/servers/groupwise/e-gw-item.h
index f145e5e..180ef94 100644
--- a/servers/groupwise/e-gw-item.h
+++ b/servers/groupwise/e-gw-item.h
@@ -154,6 +154,7 @@ typedef struct {
 	gchar *item_id;
 	gchar *ical_id;
 	gchar *recur_key;
+	gchar *start_date;
 } EGwItemCalId;
 
 GType       e_gw_item_get_type (void);



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