diff options
-rw-r--r-- | src/PatchageCanvas.cpp | 2 | ||||
-rw-r--r-- | src/PatchagePort.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 25483a4..10a156a 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -79,7 +79,7 @@ PatchageCanvas::find_port(const PortID& id) PortIndex::iterator i = _port_index.find(id); if (i != _port_index.end()) { - assert(i->second->module()); + assert(i->second->get_module()); return i->second; } diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp index e2e6679..d770002 100644 --- a/src/PatchagePort.hpp +++ b/src/PatchagePort.hpp @@ -50,7 +50,7 @@ public: /** Returns the full name of this port, as "modulename:portname" */ std::string full_name() const { - return std::string(_module->get_label()) + ":" + get_label(); + return std::string(get_module()->get_label()) + ":" + get_label(); } bool on_click(GdkEventButton* ev) { |