aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-task-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-task-table.c')
-rw-r--r--calendar/gui/e-task-table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-task-table.c b/calendar/gui/e-task-table.c
index 6f7fb83317..0ec834ff6b 100644
--- a/calendar/gui/e-task-table.c
+++ b/calendar/gui/e-task-table.c
@@ -1156,7 +1156,7 @@ clipboard_get_calendar_data (ETaskTable *task_table,
}
model = e_task_table_get_model (task_table);
- client = e_cal_model_get_default_client (model);
+ client = e_cal_model_ref_default_client (model);
status_message = _("Updating objects");
task_table_emit_status_message (task_table, status_message, -1.0);
@@ -1229,6 +1229,8 @@ clipboard_get_calendar_data (ETaskTable *task_table,
}
task_table_emit_status_message (task_table, NULL, -1.0);
+
+ g_object_unref (client);
}
static void