From e9c47051f74b848c22cad0c7940691c332414a6e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 21 Dec 2013 15:30:43 -0500 Subject: conform to new CP API --- libs/surfaces/tranzport/state.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/surfaces/tranzport') diff --git a/libs/surfaces/tranzport/state.cc b/libs/surfaces/tranzport/state.cc index 7995e1aa02..119e7953d2 100644 --- a/libs/surfaces/tranzport/state.cc +++ b/libs/surfaces/tranzport/state.cc @@ -50,9 +50,7 @@ using namespace PBD; XMLNode& TranzportControlProtocol::get_state () { - XMLNode* node = new XMLNode (X_("Protocol")); - node->add_property (X_("name"), _name); - return *node; + return ControlProtocol::get_state(); } int -- cgit v1.2.3