summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-15 02:48:48 +0000
committerDavid Robillard <d@drobilla.net>2008-08-15 02:48:48 +0000
commitb18b677b0b747ad4fbcd71102488b2cfab7cb3f9 (patch)
tree14d4ab8bdfb0918fd1c6fbdc87bc6e822ddeb197 /src/libs/gui
parentbde12203a31e8db6b04793587bf1864383d07539 (diff)
downloadingen-b18b677b0b747ad4fbcd71102488b2cfab7cb3f9.tar.gz
ingen-b18b677b0b747ad4fbcd71102488b2cfab7cb3f9.tar.bz2
ingen-b18b677b0b747ad4fbcd71102488b2cfab7cb3f9.zip
Add strong Symbol class (just a restricted string, like path) and use it for ingen object symbols.
git-svn-id: http://svn.drobilla.net/lad/ingen@1387 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/BreadCrumb.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/BreadCrumb.hpp b/src/libs/gui/BreadCrumb.hpp
index 194a1e8f..c3b05e01 100644
--- a/src/libs/gui/BreadCrumb.hpp
+++ b/src/libs/gui/BreadCrumb.hpp
@@ -60,7 +60,7 @@ public:
void set_path(const Path& path)
{
remove();
- const string text = (path == "/") ? "/" : path.name();
+ const string text = (path == "/") ? "/" : path.name().c_str();
Gtk::Label* lab = manage(new Gtk::Label(text));
lab->set_padding(0, 0);
lab->show();