summaryrefslogtreecommitdiffstats
path: root/src/PatchagePort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-03 21:45:57 +0000
committerDavid Robillard <d@drobilla.net>2011-12-03 21:45:57 +0000
commit74a3eb19f586e3548f59bb9ff9137703cdc45de8 (patch)
tree07d9070e88dd46e7b536b7b8aeed2e248ffc00b1 /src/PatchagePort.hpp
parent0654b5d4017b2dbd605ea9d7567f220ceeca44e1 (diff)
downloadpatchage-74a3eb19f586e3548f59bb9ff9137703cdc45de8.tar.gz
patchage-74a3eb19f586e3548f59bb9ff9137703cdc45de8.tar.bz2
patchage-74a3eb19f586e3548f59bb9ff9137703cdc45de8.zip
Don't expose canvas data structures.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3775 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r--src/PatchagePort.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp
index 693091a..e2e6679 100644
--- a/src/PatchagePort.hpp
+++ b/src/PatchagePort.hpp
@@ -49,7 +49,9 @@ public:
virtual ~PatchagePort() {}
/** Returns the full name of this port, as "modulename:portname" */
- std::string full_name() const { return _module->name() + ":" + _name; }
+ std::string full_name() const {
+ return std::string(_module->get_label()) + ":" + get_label();
+ }
bool on_click(GdkEventButton* ev) {
if (ev->button != 3) {