From c4325473fba84db6d48bf2ca9e79214fef1cca2f Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 26 Nov 2019 18:42:18 +0100 Subject: Don't require window object in notifications fixes #658 --- libdino/src/entity/settings.vala | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libdino/src/entity') 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_; } -- cgit v1.2.3-70-g09d2