diff options
author | David Robillard <d@drobilla.net> | 2011-12-03 21:45:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-03 21:45:57 +0000 |
commit | 74a3eb19f586e3548f59bb9ff9137703cdc45de8 (patch) | |
tree | 07d9070e88dd46e7b536b7b8aeed2e248ffc00b1 /src/PatchagePort.hpp | |
parent | 0654b5d4017b2dbd605ea9d7567f220ceeca44e1 (diff) | |
download | patchage-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.hpp | 4 |
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) { |