mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Use Gtk::Notebook::append_page rather than deprecated API
This commit is contained in:
parent
7e1be05445
commit
e68ded449f
4 changed files with 10 additions and 11 deletions
|
|
@ -67,7 +67,7 @@ LuaScriptManager::LuaScriptManager ()
|
|||
vbox->pack_end (*edit_box, false, false);
|
||||
vbox->show_all ();
|
||||
|
||||
pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, "Action Scripts"));
|
||||
pages.append_page (*vbox, "Action Scripts");
|
||||
|
||||
/* action hooks page */
|
||||
|
||||
|
|
@ -96,8 +96,7 @@ LuaScriptManager::LuaScriptManager ()
|
|||
vbox->pack_end (*edit_box, false, false);
|
||||
vbox->show_all ();
|
||||
|
||||
pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, "Action Hooks"));
|
||||
|
||||
pages.append_page (*vbox, "Action Hooks");
|
||||
|
||||
add (pages);
|
||||
pages.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue