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:
parent
3c39771266
commit
1315ee3dff
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user