mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Use Gtk::Container::get_children instead of deprecated Gtk::Table::children
This commit is contained in:
parent
dd238b6c00
commit
dc916c8ba1
1 changed files with 3 additions and 3 deletions
|
|
@ -504,18 +504,18 @@ GenericPluginUI::automatic_layout (const std::vector<ControlUI*>& control_uis)
|
|||
prefheight = 30 * i;
|
||||
}
|
||||
|
||||
if (box->children().empty()) {
|
||||
if (box->get_children().empty()) {
|
||||
hpacker.remove (*frame);
|
||||
}
|
||||
|
||||
if (button_table->children().empty()) {
|
||||
if (button_table->get_children().empty()) {
|
||||
hpacker.remove (*bt_frame);
|
||||
delete button_table;
|
||||
} else {
|
||||
button_table->show_all ();
|
||||
}
|
||||
|
||||
if (!output_table->children().empty()) {
|
||||
if (!output_table->get_children().empty()) {
|
||||
frame = manage (new Frame);
|
||||
frame->set_name ("BaseFrame");
|
||||
frame->set_label(_("Meters"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue