diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/ingen_gui.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/ingen_gui.cpp b/src/gui/ingen_gui.cpp index 37bbadc3..9d0e995b 100644 --- a/src/gui/ingen_gui.cpp +++ b/src/gui/ingen_gui.cpp @@ -25,16 +25,12 @@ struct IngenGUIModule : public Ingen::Shared::Module { } }; -static IngenGUIModule* module = NULL; - extern "C" { Ingen::Shared::Module* -ingen_module_load() { - if (!module) - module = new IngenGUIModule(); - - return module; +ingen_module_load() +{ + return new IngenGUIModule(); } } // extern "C" |