diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-19 13:12:06 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-26 18:22:22 +0200 |
commit | e9768e934fdeaf31aaae779e42ff493a2e781179 (patch) | |
tree | 53b416abd30d637bec23b489ce32e7b0776c377b /gtk2_ardour/ardour_ui.h | |
parent | c927eeb9eeed1b3a9ccd9a232df62fb3873ef267 (diff) |
move creation of UIConfiguration object to precede creation of ArdourUI.
This is pretty kludgy but we need the UIConfiguration object (or any color management object) to be the first to connect to
the ColorsChanged signal.
Might be better to make the UIConfiguration object a delegate for the ThemeManager.
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 51bc6dd117..3a6f1b501e 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -168,6 +168,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr static ARDOUR_UI *instance () { return theArdourUI; } static UIConfiguration *config () { return ui_config; } + static void create_configuration(); PublicEditor& the_editor(){return *editor;} Mixer_UI* the_mixer() { return mixer; } |