summaryrefslogtreecommitdiffstats
path: root/src/PatchagePort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-04 01:19:53 +0000
committerDavid Robillard <d@drobilla.net>2011-12-04 01:19:53 +0000
commite82efbc503f278cd9a84aafd6cb574fc4bfc0e04 (patch)
tree447e2c39a1c6b80a4147fadeb7399f9a4976001b /src/PatchagePort.hpp
parent74a3eb19f586e3548f59bb9ff9137703cdc45de8 (diff)
downloadpatchage-e82efbc503f278cd9a84aafd6cb574fc4bfc0e04.tar.gz
patchage-e82efbc503f278cd9a84aafd6cb574fc4bfc0e04.tar.bz2
patchage-e82efbc503f278cd9a84aafd6cb574fc4bfc0e04.zip
Move Port::_module down to C level (Port is now a stateless wrapper).
Fix crash on edge deletion. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3785 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r--src/PatchagePort.hpp2
1 files changed, 1 insertions, 1 deletions
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) {