[gnome-todo] task-list-eds: Properly update GNOME To Do API version
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task-list-eds: Properly update GNOME To Do API version
- Date: Mon, 1 Apr 2019 13:45:32 +0000 (UTC)
commit a1c54a042452ea0370cdf1a42d5492477a41b377
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Mar 31 14:32:39 2019 -0300
task-list-eds: Properly update GNOME To Do API version
Otherwise, it keeps migrating tasks over and over.
plugins/eds/gtd-task-list-eds.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/eds/gtd-task-list-eds.c b/plugins/eds/gtd-task-list-eds.c
index b377e84..3106fd4 100644
--- a/plugins/eds/gtd-task-list-eds.c
+++ b/plugins/eds/gtd-task-list-eds.c
@@ -213,6 +213,8 @@ maybe_migrate_todo_api_version (GtdTaskListEds *self)
g_debug (" Migrating task list to GNOME To Do API v%u", new_api_version);
migration_vtable[i].migrate (self, changed_tasks);
+
+ e_source_gnome_todo_set_api_version (gnome_todo_extension, new_api_version);
api_version_changed = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]