make children widgets managed

This commit is contained in:
yggverse 2024-09-02 16:25:31 +03:00
parent 75aaa6e717
commit 02b0b42b6b
14 changed files with 25 additions and 77 deletions

View file

@ -10,25 +10,19 @@ History::History()
"linked" // merge children elements
);
historyBack = new history::Back();
historyBack = Gtk::make_managed<history::Back>();
append(
* historyBack
);
historyForward = new history::Forward();
historyForward = Gtk::make_managed<history::Forward>();
append(
* historyForward
);
}
History::~History()
{
delete historyBack;
delete historyForward;
};
// Actions
void History::back()
{