summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-19 21:07:07 +0000
committerDavid Robillard <d@drobilla.net>2011-04-19 21:07:07 +0000
commit08759b27bc19de59bfd17fc929ee7e0021181ffb (patch)
tree111d19160758efc7ae3e120ec4212fed2aa79558 /src/gui/ConnectWindow.cpp
parentc9683eb916ff52ab6907773360c655d776b24f23 (diff)
downloadingen-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/ConnectWindow.cpp')
-rw-r--r--src/gui/ConnectWindow.cpp8
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