projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'libs/ardour' - Compiler specific includes and includes
[ardour.git]
/
gtk2_ardour
/
vst_plugin_ui.cc
diff --git
a/gtk2_ardour/vst_plugin_ui.cc
b/gtk2_ardour/vst_plugin_ui.cc
index 4c1fc6eade35ae82cb56178570106c4ccdc88e54..6c308138218d5262b0b9c8d10887ff2c2ece940f 100644
(file)
--- a/
gtk2_ardour/vst_plugin_ui.cc
+++ b/
gtk2_ardour/vst_plugin_ui.cc
@@
-36,11
+36,7
@@
VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost:
box->pack_end (add_button, false, false);
box->pack_end (_preset_combo, false, false);
box->pack_end (add_button, false, false);
box->pack_end (_preset_combo, false, false);
- if (!insert->active ()) {
- bypass_button.set_active_state (Gtkmm2ext::Active);
- } else {
- bypass_button.unset_active_state ();
- }
+ bypass_button.set_active (!insert->active ());
pack_start (*box, false, false);
pack_start (_socket, true, true);
pack_start (*box, false, false);
pack_start (_socket, true, true);
@@
-83,7
+79,7
@@
VSTPluginUI::package (Gtk::Window& win)
}
bool
}
bool
-VSTPluginUI::configure_handler (GdkEventConfigure*
ev
)
+VSTPluginUI::configure_handler (GdkEventConfigure*)
{
XEvent event;
gint x, y;
{
XEvent event;
gint x, y;