refactor: move signal handler adding into separate method

fix: typo in handleMouseHover method name
This commit is contained in:
Brenno Lemos
2023-10-14 18:30:27 -03:00
parent fad858782c
commit 5e44cb6ba2
2 changed files with 12 additions and 8 deletions

View File

@ -19,7 +19,7 @@ class Group : public AModule {
virtual Gtk::Box& getBox();
void addWidget(Gtk::Widget& widget);
bool hangleMouseHover(GdkEventCrossing* const& e);
bool handleMouseHover(GdkEventCrossing* const& e);
protected:
Gtk::Box box;
@ -28,6 +28,8 @@ class Group : public AModule {
bool is_first_widget = true;
bool is_drawer = false;
std::string add_class_to_drawer_children;
void addHoverHandlerTo(Gtk::Widget& widget);
};
} // namespace waybar