[gnome-calendar] edit-dialog: Commit sequence after poking at component
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: Commit sequence after poking at component
- Date: Thu, 18 Jun 2020 00:25:04 +0000 (UTC)
commit 1bb00b8989830e74761943c393517569c7b890fd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jun 17 21:21:18 2020 -0300
edit-dialog: Commit sequence after poking at component
GcalEditDialog code pre-dates GcalEvent and apply changes directly
to the underlying ECalComponent. However, it doesn't commit the
sequence after doing so, which opens the door for doom.
Commit the component sequence after changing the recurrence data.
src/gui/gcal-edit-dialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gui/gcal-edit-dialog.c b/src/gui/gcal-edit-dialog.c
index 46344c9c..ae2b6714 100644
--- a/src/gui/gcal-edit-dialog.c
+++ b/src/gui/gcal-edit-dialog.c
@@ -387,6 +387,7 @@ remove_recurrence_properties (GcalEvent *event)
e_cal_component_set_recurid (comp, NULL);
e_cal_component_set_rrules (comp, NULL);
+ e_cal_component_commit_sequence (comp);
}
static gchar*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]