diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-21 00:56:50 +0100 |
commit | d356d1854a01a09bda32185647a8bd01b09df3d3 (patch) | |
tree | 6c7c5988dc8d82f3847929e4a90aec1bad31e249 | |
parent | fa2fd348491cddef0a356fb13a8dab0d2e91d5fb (diff) | |
download | ingen-d356d1854a01a09bda32185647a8bd01b09df3d3.tar.gz ingen-d356d1854a01a09bda32185647a8bd01b09df3d3.tar.bz2 ingen-d356d1854a01a09bda32185647a8bd01b09df3d3.zip |
Move Glib::thread_init to GUI
-rw-r--r-- | src/gui/ingen_gui.cpp | 1 | ||||
-rw-r--r-- | src/ingen/ingen.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ingen_gui.cpp b/src/gui/ingen_gui.cpp index 38ff937b..097de5cf 100644 --- a/src/gui/ingen_gui.cpp +++ b/src/gui/ingen_gui.cpp @@ -39,6 +39,7 @@ extern "C" { Ingen::Module* ingen_module_load() { + Glib::thread_init(); return new Ingen::GUI::GUIModule(); } diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index a9047d1b..dfad1bb1 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -85,7 +85,6 @@ print_version() int main(int argc, char** argv) { - Glib::thread_init(); Ingen::set_bundle_path_from_code((void*)&print_version); // Create world |