summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-24 16:15:27 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-24 16:15:27 +0000
commit9ea281bdea94e31961d714546c972d2d7ea7516e (patch)
tree30e435f489ead9ef1749aecda3d23d640bc65363 /gtk2_ardour/sfdb_ui.cc
parent2e765255e9ca05c89a8ed921575e937d423953f5 (diff)
fix up translation domains to reflect v2; functor command header
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2477 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index 1ba31404ed..6cefaa3895 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -64,8 +64,6 @@ using Glib::ustring;
ustring SoundFileBrowser::persistent_folder;
-static int reset_depth = 0;
-
SoundFileBox::SoundFileBox ()
: _session(0),
table (6, 2),
@@ -617,12 +615,6 @@ SoundFileOmega::reset_options ()
{
vector<ustring> paths = get_paths ();
- reset_depth++;
-
- if (reset_depth > 4) {
- abort ();
- }
-
if (paths.empty()) {
channel_combo.set_sensitive (false);
@@ -630,7 +622,6 @@ SoundFileOmega::reset_options ()
where_combo.set_sensitive (false);
copy_files_btn.set_sensitive (false);
- reset_depth--;
return false;
} else {
@@ -650,7 +641,6 @@ SoundFileOmega::reset_options ()
if (check_info (paths, same_size, src_needed, selection_includes_multichannel)) {
Glib::signal_idle().connect (mem_fun (*this, &SoundFileOmega::bad_file_message));
- reset_depth--;
return false;
}
@@ -789,7 +779,6 @@ SoundFileOmega::reset_options ()
}
}
- reset_depth--;
return true;
}