aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-task-shell-view-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-task-shell-view-actions.c')
-rw-r--r--calendar/modules/e-task-shell-view-actions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/modules/e-task-shell-view-actions.c b/calendar/modules/e-task-shell-view-actions.c
index 8e1695afa2..c59c55bd17 100644
--- a/calendar/modules/e-task-shell-view-actions.c
+++ b/calendar/modules/e-task-shell-view-actions.c
@@ -156,7 +156,6 @@ action_task_forward_cb (GtkAction *action,
ECalModelComponent *comp_data;
ECalComponent *comp;
icalcomponent *clone;
- ECalComponentItipMethod method;
GSList *list;
task_shell_content = task_shell_view->priv->task_shell_content;
@@ -170,9 +169,10 @@ action_task_forward_cb (GtkAction *action,
/* XXX We only forward the first selected task. */
comp = e_cal_component_new ();
clone = icalcomponent_new_clone (comp_data->icalcomp);
- method = E_CAL_COMPONENT_METHOD_PUBLISH;
e_cal_component_set_icalcomponent (comp, clone);
- itip_send_comp (method, comp, comp_data->client, NULL, NULL, NULL);
+ itip_send_comp (
+ E_CAL_COMPONENT_METHOD_PUBLISH, comp,
+ comp_data->client, NULL, NULL, NULL, TRUE);
g_object_unref (comp);
}