aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/itip-utils.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a2ce6a63d1..a344a57ff4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
+
+ * gui/itip-utils.c (comp_server_send): pass the user list and
+ returned icalcomponent to e_cal_send_objects().
+
2004-03-01 Kidd Wang <kidd.wang@sun.com>
* gui/print.c: (print_date_label): ignore the timezone info of all-day
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 19e3402969..383d7df0cf 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -536,12 +536,12 @@ static gboolean
comp_server_send (ECalComponentItipMethod method, ECalComponent *comp, ECal *client,
icalcomponent *zones, GList **users)
{
- icalcomponent *top_level;
+ icalcomponent *top_level, *returned_icalcomp = NULL;
gboolean retval = TRUE;
GError *error = NULL;
top_level = comp_toplevel_with_zones (method, comp, client, zones);
- if (!e_cal_send_objects (client, top_level, &error)) {
+ if (!e_cal_send_objects (client, top_level, &users, &returned_icalcomp, &error)) {
/* FIXME Really need a book problem status code */
if (error->code != E_CALENDAR_STATUS_OK) {
/* FIXME Better error message */
@@ -552,7 +552,9 @@ comp_server_send (ECalComponentItipMethod method, ECalComponent *comp, ECal *cli
}
g_clear_error (&error);
-
+
+ if (returned_icalcomp)
+ icalcomponent_free (returned_icalcomp);
icalcomponent_free (top_level);
return retval;