refactor: don't use a group's box directly in bar

This commit is contained in:
Brenno Lemos
2023-10-14 13:08:44 -03:00
parent a3774dc586
commit bbb7fb0c82
4 changed files with 21 additions and 9 deletions

View File

@ -35,6 +35,8 @@ auto Group::update() -> void {
// noop
}
Group::operator Gtk::Widget&() { return box; }
Gtk::Box& Group::getBox() { return box; }
Group::operator Gtk::Widget&() { return getBox(); }
} // namespace waybar