[gnome-todo] eds/task: Commit sequence before applying changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] eds/task: Commit sequence before applying changes
- Date: Wed, 18 Sep 2019 21:57:45 +0000 (UTC)
commit 9558bc21eef56ec54734fd73936ce4e62c42144e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Sep 18 18:56:45 2019 -0300
eds/task: Commit sequence before applying changes
ECalComponent now asserts whether the component was committed
when it should, and we were not committing it.
Commit the component's sequence before applying changes.
https://gitlab.gnome.org/GNOME/gnome-todo/issues/279
plugins/eds/gtd-task-eds.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/eds/gtd-task-eds.c b/plugins/eds/gtd-task-eds.c
index d0b2911..be9a247 100644
--- a/plugins/eds/gtd-task-eds.c
+++ b/plugins/eds/gtd-task-eds.c
@@ -669,6 +669,8 @@ gtd_task_eds_apply (GtdTaskEds *self)
{
g_return_if_fail (GTD_IS_TASK_EDS (self));
+ e_cal_component_commit_sequence (self->new_component);
+
/* Make new_component the actual component */
gtd_task_eds_set_component (self, self->new_component);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]