quick commit
This commit is contained in:
@@ -7,14 +7,12 @@ Popover::Popover(const std::string icon, std::string name): Button(icon) {
|
||||
|
||||
this->add_css_class("material-icons");
|
||||
|
||||
popover = new Gtk::Popover();
|
||||
popover = std::make_unique<Gtk::Popover>();
|
||||
popover->set_parent(*this);
|
||||
popover->set_autohide(true);
|
||||
}
|
||||
|
||||
Popover::~Popover() {
|
||||
delete popover;
|
||||
}
|
||||
Popover::~Popover() = default;
|
||||
|
||||
void Popover::on_toggle_window() {
|
||||
if (popover->get_visible()) {
|
||||
|
||||
Reference in New Issue
Block a user