From c9fb61edde27394c05fd90be3fe4b849da45b15d Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 1 Mar 2004 21:38:36 +0000 Subject: pass the user list and returned icalcomponent to e_cal_send_objects(). 2004-03-01 Rodrigo Moya * gui/itip-utils.c (comp_server_send): pass the user list and returned icalcomponent to e_cal_send_objects(). svn path=/trunk/; revision=24926 --- calendar/gui/itip-utils.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'calendar/gui') 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; -- cgit