diff options
Diffstat (limited to 'modules/calendar/e-task-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-task-shell-view-private.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c index 67f4e263c5..1fb6e4a33a 100644 --- a/modules/calendar/e-task-shell-view-private.c +++ b/modules/calendar/e-task-shell-view-private.c @@ -33,15 +33,13 @@ task_shell_view_model_row_appended_cb (ETaskShellView *task_shell_view, { ETaskShellSidebar *task_shell_sidebar; ECalClient *client; - ESource *source; /* This is the "Click to Add" handler. */ client = e_cal_model_ref_default_client (model); - source = e_client_get_source (E_CLIENT (client)); task_shell_sidebar = task_shell_view->priv->task_shell_sidebar; - e_task_shell_sidebar_add_source (task_shell_sidebar, source); + e_task_shell_sidebar_add_client (task_shell_sidebar, E_CLIENT (client)); g_object_unref (client); } |