summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-11-13 15:11:07 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-11-13 15:11:07 +0000
commit98834c05324b6e5be70e642ef5b5d62f6d34334a (patch)
tree99fb84768e4b1958fb08ae807b872599f0a7e660 /gtk2_ardour/sfdb_ui.cc
parent06fa1b73e581558ee1b21d0e313db8c2560d422e (diff)
remove a bunch of cerr output and/or convert to use error<<
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index eab34a6a0a..42d304e8f4 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -862,19 +862,19 @@ SoundFileBrowser::freesound_search()
XMLNode *root = doc.root();
if (!root) {
- cerr << "no root XML node!" << endl;
+ error << "no root XML node!" << endmsg;
break;
}
if ( strcmp(root->name().c_str(), "response") != 0) {
- cerr << "root node name == " << root->name() << ", != \"response\"!" << endl;
+ error << string_compose ("root node name == %1 != \"response\"", root->name()) << endmsg;
break;
}
XMLNode *sounds_root = root->child("sounds");
if (!sounds_root) {
- cerr << "no child node \"sounds\" found!" << endl;
+ error << "no child node \"sounds\" found!" << endmsg;
break;
}
@@ -884,7 +884,7 @@ SoundFileBrowser::freesound_search()
for (niter = sounds.begin(); niter != sounds.end(); ++niter) {
node = *niter;
if( strcmp( node->name().c_str(), "resource") != 0 ){
- cerr << "node->name()=" << node->name() << ",!= \"resource\"!" << endl;
+ error << string_compose ("node->name()=%1 != \"resource\"", node->name()) << endmsg;
freesound_search_cancel = true;
break;
}