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:
parent
03b5fcee8a
commit
5e13dd0abd
7 changed files with 27 additions and 36 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue