Use Gtk::Container::get_children instead of deprecated Gtk::Table::children

This commit is contained in:
Tim Mayberry 2015-02-28 14:49:26 +10:00
parent dd238b6c00
commit dc916c8ba1

View File

@ -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"));