diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-17 02:35:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-17 02:35:16 +0000 |
commit | 3dfae5be660dd271e7895a481b7fbfbeee7981a4 (patch) | |
tree | 7f43bd8ca8ce20153c9f95f45fda76379eb4279f /gtk2_ardour/ardour_ui_options.cc | |
parent | 762d2ae936bd78053d9f344ce9392b7867304ae2 (diff) |
merge by hand changes from mtaht to fix up export behaviour, and gcc warnings when optimized
git-svn-id: svn://localhost/ardour2/trunk@1332 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 7b8557f18b..ca11d4a4d9 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -102,6 +102,9 @@ ARDOUR_UI::set_native_file_header_format (HeaderFormat hf) case AIFF: action = X_("FileHeaderFormatAIFF"); break; + default: + fatal << string_compose (_("programming error: %1"), "illegal file header format in ::set_native_file_header_format") << endmsg; + /*NOTREACHED*/ } Glib::RefPtr<Action> act = ActionManager::get_action ("options", action); @@ -126,6 +129,9 @@ ARDOUR_UI::set_native_file_data_format (SampleFormat sf) case FormatInt24: action = X_("FileDataFormat24bit"); break; + default: + fatal << string_compose (_("programming error: %1"), "illegal file data format in ::set_native_file_data_format") << endmsg; + /*NOTREACHED*/ } Glib::RefPtr<Action> act = ActionManager::get_action ("options", action); |