diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-28 12:46:31 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-28 12:46:43 -0400 |
commit | 173b00777963376fd441256a4aadac9e6425af97 (patch) | |
tree | 73318ff1915b25aa1a5a6a2b0e3d372da18b02d0 /gtk2_ardour/ardour_ui.h | |
parent | 34d19ce8792cd2ad7012bc4d74c5012f697d87f0 (diff) |
rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 819455c218..ed8da6d6be 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -140,7 +140,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr UIConfiguration* ui_config; public: - ARDOUR_UI (int *argcp, char **argvp[], const char* localedir); + ARDOUR_UI (int *argcp, char **argvp[], const char* localedir, UIConfiguration*); ~ARDOUR_UI(); bool run_startup (bool should_be_new, std::string load_template); |