13
0

Remove unused variable and the accessor methods for it from ARDOUR_UI

git-svn-id: svn://localhost/ardour2/trunk@1863 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-05-18 02:41:29 +00:00
parent 3c39771266
commit 1315ee3dff
2 changed files with 1 additions and 13 deletions

View File

@ -186,7 +186,6 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], string rcfile)
open_session_selector = 0;
have_configure_timeout = false;
have_disk_speed_dialog_displayed = false;
_will_create_new_session_automatically = false;
session_loaded = false;
last_speed_displayed = -1.0f;
keybindings_path = ARDOUR::find_config_file ("ardour.bindings");
@ -2580,8 +2579,7 @@ ARDOUR_UI::cmdline_new_session (string path)
}
new_session (path);
_will_create_new_session_automatically = false; /* done it */
return FALSE; /* don't call it again */
}

View File

@ -119,14 +119,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI
ARDOUR::Session* the_session() { return session; }
bool will_create_new_session_automatically() const {
return _will_create_new_session_automatically;
}
void set_will_create_new_session_automatically (bool yn) {
_will_create_new_session_automatically = yn;
}
bool new_session(std::string path = string());
gint cmdline_new_session (string path);
@ -542,8 +534,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI
gint session_menu (GdkEventButton *);
bool _will_create_new_session_automatically;
NewSessionDialog* new_session_dialog;
void open_session ();