mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
make children widgets managed
This commit is contained in:
parent
75aaa6e717
commit
02b0b42b6b
14 changed files with 25 additions and 77 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue