From 119468f621a59d86da10bedf75c4427b70f9d370 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 16 Mar 2012 03:15:41 +0000 Subject: Remove activity from interface and use set_property() instead. Move client registration stuff to Engine and remove corresponding events. Simply response ID interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4066 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/App.cpp') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index e23ef5a6..5ef4575d 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -159,7 +159,9 @@ App::attach(SharedPtr client) assert(!_store); assert(!_loader); - _world->engine()->register_client(client.get()); + if (_world->local_engine()) { + _world->local_engine()->register_client(client->uri(), client.get()); + } _client = client; _store = SharedPtr(new ClientStore(_world->uris(), _world->engine(), client)); -- cgit v1.2.1