From 9cd4eddfb41c4573d4acd4f625572c4cdff50497 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Aug 2007 03:20:35 +0000 Subject: More SWIGification. Engine->Client calls/messages implemented... and segfault somewhere in Python :/ . git-svn-id: http://svn.drobilla.net/lad/ingen@664 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingen/main.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/progs/ingen') diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 145ec463..22ace336 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -217,11 +217,9 @@ main(int argc, char** argv) } else { cerr << "FAILED: " << Glib::Module::get_last_error() << endl; } - } - - - /* Didn't run the GUI, listen to OSC and do our own main thing. */ - if (engine && !ran_gui) { + + /* Listen to OSC and do our own main thing. */ + } else if (engine && !ran_gui) { signal(SIGINT, catch_int); signal(SIGTERM, catch_int); -- cgit v1.2.1