mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
make creation of ArdourCanvas objects in waves_ui.cc conditional on ARDOUR_CANVAS_HAS_XML_UI
This commit is contained in:
parent
4078063b00
commit
dcbcf09cf5
2 changed files with 4 additions and 1 deletions
|
|
@ -121,9 +121,11 @@ WavesUI::create_widget (const XMLNode& definition, const XMLNodeMap& styles)
|
|||
child = manage (new Gtk::Layout (get_adjustment(hadjustment_id.c_str()),
|
||||
get_adjustment(vadjustment_id.c_str())));
|
||||
}
|
||||
#ifdef ARDOUR_CANVAS_HAS_XMLUI
|
||||
} else if (widget_type == "CANVAS") {
|
||||
std::map<std::string, ArdourCanvas::Item*> named_items;
|
||||
child = manage (new ArdourCanvas::GtkCanvas (definition, styles, named_items));
|
||||
#endif
|
||||
} else if (widget_type == "SCROLLEDWINDOW") {
|
||||
child = manage (new Gtk::ScrolledWindow);
|
||||
} else if (widget_type == "FIXED") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue