prevent wierd GTK main loop situation when quitting from NSD at startup

git-svn-id: svn://localhost/ardour2/trunk@1610 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-03-17 02:12:40 +00:00
parent e6481db654
commit f9d23955b5
4 changed files with 13 additions and 8 deletions

View file

@ -127,7 +127,9 @@ maybe_load_session ()
if (!session_name.length()) {
ui->hide_splash ();
if (!Config->get_no_new_session_dialog()) {
ui->new_session ();
if (!ui->new_session ()) {
return false;
}
}
return true;
@ -168,7 +170,9 @@ maybe_load_session ()
/* Show the NSD */
ui->hide_splash ();
if (!Config->get_no_new_session_dialog()) {
ui->new_session ();
if (!ui->new_session ()) {
return false;
}
}
}