diff options
author | David Robillard <d@drobilla.net> | 2011-04-19 21:07:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-19 21:07:07 +0000 |
commit | 08759b27bc19de59bfd17fc929ee7e0021181ffb (patch) | |
tree | 111d19160758efc7ae3e120ec4212fed2aa79558 /src/gui | |
parent | c9683eb916ff52ab6907773360c655d776b24f23 (diff) | |
download | ingen-08759b27bc19de59bfd17fc929ee7e0021181ffb.tar.gz ingen-08759b27bc19de59bfd17fc929ee7e0021181ffb.tar.bz2 ingen-08759b27bc19de59bfd17fc929ee7e0021181ffb.zip |
Remove EngineInterface::activate() and EngineInterface::deactivate().
Use set_property("ingen:driver", "ingen:enabled", true | false) instead.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3171 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/ConnectWindow.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index e5ade51c..f93ebf4c 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -288,13 +288,17 @@ ConnectWindow::disconnect() void ConnectWindow::activate() { - App::instance().engine()->activate(); + App::instance().engine()->set_property("ingen:driver", + "ingen:enabled", + true); } void ConnectWindow::deactivate() { - App::instance().engine()->deactivate(); + App::instance().engine()->set_property("ingen:driver", + "ingen:enabled", + false); } void |