diff options
Diffstat (limited to 'editor/dconf-model.vala')
-rw-r--r-- | editor/dconf-model.vala | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala index fc772a6..ff45a29 100644 --- a/editor/dconf-model.vala +++ b/editor/dconf-model.vala @@ -570,13 +570,9 @@ public class SettingsModel: GLib.Object, Gtk.TreeModel public signal void item_changed (string key); - void watch_func (DConf.Client client, string path, string[] items, string tag) { - if (items.length == 0) { - item_changed (path); - } else { - foreach (var item in items) { - item_changed (path + item); - } + void watch_func (DConf.Client client, string path, string[] items, string? tag) { + foreach (var item in items) { + item_changed (path + item); } } |