mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
refactor: don't use a group's box directly in bar
This commit is contained in:
@ -5,8 +5,6 @@
|
||||
#include <json/json.h>
|
||||
|
||||
#include "AModule.hpp"
|
||||
#include "bar.hpp"
|
||||
#include "factory.hpp"
|
||||
|
||||
namespace waybar {
|
||||
|
||||
@ -16,6 +14,10 @@ class Group : public AModule {
|
||||
~Group() = default;
|
||||
auto update() -> void override;
|
||||
operator Gtk::Widget&() override;
|
||||
|
||||
virtual Gtk::Box& getBox();
|
||||
|
||||
protected:
|
||||
Gtk::Box box;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user