diff options
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index d3399f63..5cc5b930 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -111,7 +111,8 @@ public: static inline App& instance() { assert(_instance); return *_instance; } - static void run(int argc, char** argv, Ingen::Shared::World* world); + static void init(int argc, char** argv, Ingen::Shared::World* world); + static void run(); Ingen::Shared::World* world() { return _world; } @@ -138,7 +139,8 @@ protected: static void* icon_destroyed(void* data); - static App* _instance; + static Gtk::Main* _main; + static App* _instance; SharedPtr<Client::SigClientInterface> _client; SharedPtr<Raul::Deletable> _handle; |