aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-11-26 18:42:18 +0100
committerfiaxh <git@lightrise.org>2019-11-26 18:47:30 +0100
commitc4325473fba84db6d48bf2ca9e79214fef1cca2f (patch)
tree51b9dbb598628b44b1f09ae588db5588168ebfe7 /libdino/src
parentb03da2af60e109921967fd38a2ba16bfb4df9f5d (diff)
downloaddino-c4325473fba84db6d48bf2ca9e79214fef1cca2f.tar.gz
dino-c4325473fba84db6d48bf2ca9e79214fef1cca2f.zip
Don't require window object in notifications
fixes #658
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/entity/settings.vala5
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_; }