summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
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();