summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
commit4c509656223d3ed1f0fab504cb483090d38972f9 (patch)
tree540f207b81f957fa78101d67da3094ff1e1f9456 /gtk2_ardour/main.cc
parent5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (diff)
fix compose mess, and a number of 64 bit printf specs
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 76306d36a1..1ed84763e9 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -187,7 +187,7 @@ catch_signals (void)
// if (setpgid (0,0)) {
if (setsid ()) {
- warning << compose (_("cannot become new process group leader (%1)"),
+ warning << string_compose (_("cannot become new process group leader (%1)"),
strerror (errno))
<< endmsg;
}
@@ -214,7 +214,7 @@ catch_signals (void)
for (int i = 1; i < 32; i++) {
if (sigismember (&signals, i)) {
if (sigaction (i, &action, 0)) {
- cerr << compose (_("cannot setup signal handling for %1"), i) << endl;
+ cerr << string_compose (_("cannot setup signal handling for %1"), i) << endl;
return -1;
}
}
@@ -225,7 +225,7 @@ catch_signals (void)
*/
if (pthread_sigmask (SIG_SETMASK, &signals, 0)) {
- cerr << compose (_("cannot set default signal mask (%1)"), strerror (errno)) << endl;
+ cerr << string_compose (_("cannot set default signal mask (%1)"), strerror (errno)) << endl;
return -1;
}
@@ -416,7 +416,7 @@ main (int argc, char *argv[])
catch (AudioEngine::NoBackendAvailable& err) {
gui_jack_error ();
- error << compose (_("Could not connect to JACK server as \"%1\""), jack_client_name) << endmsg;
+ error << string_compose (_("Could not connect to JACK server as \"%1\""), jack_client_name) << endmsg;
return -1;
}
@@ -432,7 +432,7 @@ main (int argc, char *argv[])
bool isnew;
if (Session::find_session (session_name, path, name, isnew)) {
- error << compose(_("could not load command line session \"%1\""), session_name) << endmsg;
+ error << string_compose(_("could not load command line session \"%1\""), session_name) << endmsg;
} else {
if (new_session) {
@@ -452,7 +452,7 @@ main (int argc, char *argv[])
/* it wasn't new, but we require a new session */
- error << compose (_("\n\nA session named \"%1\" already exists.\n\
+ error << string_compose (_("\n\nA session named \"%1\" already exists.\n\
To avoid this message, start ardour as \"ardour %1"), path)
<< endmsg;
goto out;
@@ -463,7 +463,7 @@ To avoid this message, start ardour as \"ardour %1"), path)
/* command line didn't require a new session */
if (isnew) {
- error << compose (_("\n\nNo session named \"%1\" exists.\n\
+ error << string_compose (_("\n\nNo session named \"%1\" exists.\n\
To create it from the command line, start ardour as \"ardour --new %1"), path)
<< endmsg;
goto out;