summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-10-25 17:34:00 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-10-25 17:34:00 +0000
commit5e4d2afbe87e79b6a8c63f2de05be269f343b44e (patch)
tree761fe46803063495a93f0d52f1c2ed3ff6c37f8f /gtk2_ardour/rc_option_editor.cc
parent8cff3d0e60811d43f6bddce5486b6d4c007379bd (diff)
don't both with LTC parameter changes if HAVE_LTC is not set
git-svn-id: svn://localhost/ardour2/branches/3.0@13339 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index b65f4b3822..7ff6d3809f 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -1786,10 +1786,12 @@ RCOptionEditor::parameter_changed (string const & p)
_sync_framerate->set_sensitive (false);
break;
}
+#ifdef HAVE_LTC
} else if (p == "send-ltc") {
bool const s = Config->get_send_ltc ();
_ltc_send_continuously->set_sensitive (s);
_ltc_volume_slider->set_sensitive (s);
+#endif /*HAVE_LTC*/
}
}