Replace Db.PrepareDelegate with a subclass virtual function hook

While slightly less flexible, it fits the Engine's needs and simplifies
the DB API.
This commit is contained in:
Michael Gratton 2019-06-11 07:21:35 +10:00 committed by Michael James Gratton
parent 03b5fcee8a
commit 5e13dd0abd
7 changed files with 27 additions and 36 deletions

View file

@ -34,7 +34,7 @@ class Geary.Db.VersionedDatabaseTest : TestCase {
);
db.open.begin(
Geary.Db.DatabaseFlags.CREATE_FILE, null, null,
Geary.Db.DatabaseFlags.CREATE_FILE, null,
(obj, ret) => { async_complete(ret); }
);
db.open.end(async_result());