Use the same StatusNotifierWatcher for all trays

This commit is contained in:
Guillaume Maudoux
2020-02-19 12:06:35 +01:00
parent 9b0660e751
commit 047c2929c1
4 changed files with 20 additions and 7 deletions

View File

@ -21,7 +21,7 @@ class Tray : public AModule {
static inline std::size_t nb_hosts_ = 0;
Gtk::Box box_;
SNI::Watcher watcher_;
SNI::Watcher::singleton watcher_;
SNI::Host host_;
};