diff options
author | David Robillard <d@drobilla.net> | 2006-06-14 18:23:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-14 18:23:57 +0000 |
commit | 5a7beed295e6c8cee627774b9ca4d2e0eff510c1 (patch) | |
tree | df080d187fc75292a163d5ab7331b15027e81154 /src/libs/engine/events | |
parent | 52f5c887cf8d4149278d137684f8f1ee31231d65 (diff) | |
download | ingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.tar.gz ingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.tar.bz2 ingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.zip |
Removed unused cruft from GTK client
git-svn-id: http://svn.drobilla.net/lad/grauph@37 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/DisconnectNodeEvent.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/events/DisconnectNodeEvent.cpp b/src/libs/engine/events/DisconnectNodeEvent.cpp index 17367dd4..4c4e19a7 100644 --- a/src/libs/engine/events/DisconnectNodeEvent.cpp +++ b/src/libs/engine/events/DisconnectNodeEvent.cpp @@ -127,11 +127,13 @@ void DisconnectNodeEvent::post_process() { if (m_succeeded) { - m_responder->respond_ok(); + if (m_responder) + m_responder->respond_ok(); for (List<DisconnectionEvent*>::iterator i = m_disconnection_events.begin(); i != m_disconnection_events.end(); ++i) (*i)->post_process(); } else { - m_responder->respond_error("Unable to disconnect all ports."); + if (m_responder) + m_responder->respond_error("Unable to disconnect all ports."); } } |