diff options
author | Seif Lotfy <seif@lotfy.com> | 2013-01-31 18:20:46 +0100 |
---|---|---|
committer | Seif Lotfy <seif@lotfy.com> | 2013-01-31 18:20:46 +0100 |
commit | ebeaabe6b62ffe457c9291ae27ece04aff059a28 (patch) | |
tree | 8281bac7f7d61738d768a3df2ecf6945cc073522 | |
parent | 74a59df959de8ba7fabe42dd6bdd5989362b71d5 (diff) | |
download | zeitgeist-ebeaabe6b62ffe457c9291ae27ece04aff059a28.tar.gz |
fix issues with double table lookups
-rw-r--r-- | libzeitgeist/db-reader.vala | 8 | ||||
-rw-r--r-- | src/engine.vala | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/libzeitgeist/db-reader.vala b/libzeitgeist/db-reader.vala index 540162bf..feb97e41 100644 --- a/libzeitgeist/db-reader.vala +++ b/libzeitgeist/db-reader.vala @@ -40,10 +40,10 @@ public class DbReader : Object public Zeitgeist.SQLite.Database database { get; construct; } public unowned Sqlite.Database db; - private TableLookup interpretations_table; - private TableLookup manifestations_table; - private TableLookup mimetypes_table; - private TableLookup actors_table; + protected TableLookup interpretations_table; + protected TableLookup manifestations_table; + protected TableLookup mimetypes_table; + protected TableLookup actors_table; public DbReader () throws EngineError { diff --git a/src/engine.vala b/src/engine.vala index 5062ce1a..9c92bdf5 100644 --- a/src/engine.vala +++ b/src/engine.vala @@ -37,10 +37,6 @@ public class Engine : DbReader public ExtensionStore extension_store; private ExtensionCollection extension_collection; - private TableLookup interpretations_table; - private TableLookup manifestations_table; - private TableLookup mimetypes_table; - private TableLookup actors_table; private uint32 last_id; public Engine () throws EngineError |