diff options
| author | fiaxh <git@lightrise.org> | 2019-11-26 18:42:18 +0100 |
|---|---|---|
| committer | fiaxh <git@lightrise.org> | 2019-11-26 18:47:30 +0100 |
| commit | c4325473fba84db6d48bf2ca9e79214fef1cca2f (patch) | |
| tree | 51b9dbb598628b44b1f09ae588db5588168ebfe7 /libdino/src/entity | |
| parent | b03da2af60e109921967fd38a2ba16bfb4df9f5d (diff) | |
| download | dino-c4325473fba84db6d48bf2ca9e79214fef1cca2f.tar.gz | |
Don't require window object in notifications
fixes #658
Diffstat (limited to 'libdino/src/entity')
| -rw-r--r-- | libdino/src/entity/settings.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libdino/src/entity/settings.vala b/libdino/src/entity/settings.vala index ef25fd23..bf1ebed4 100644 --- a/libdino/src/entity/settings.vala +++ b/libdino/src/entity/settings.vala @@ -18,11 +18,6 @@ public class Settings : Object { return val != null ? bool.parse(val) : def; } - private int col_to_int_or_default(string key, int def) { - string? val = db.settings.select({db.settings.value}).with(db.settings.key, "=", key)[db.settings.value]; - return val != null ? int.parse(val) : def; - } - private bool send_typing_; public bool send_typing { get { return send_typing_; } |
