summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-guide.cpp')
-rw-r--r--src/sp-guide.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp
index 1e51ee4d5..584a6a366 100644
--- a/src/sp-guide.cpp
+++ b/src/sp-guide.cpp
@@ -412,7 +412,7 @@ void sp_guide_set_normal(SPGuide &guide, Geom::Point const normal_to_line, bool
*/
}
-void sp_guide_set_label(SPGuide &guide, char* label, bool const commit)
+void sp_guide_set_label(SPGuide &guide, const char* label, bool const commit)
{
g_assert(SP_IS_GUIDE(&guide));
if (guide.views){
@@ -421,7 +421,7 @@ void sp_guide_set_label(SPGuide &guide, char* label, bool const commit)
if (commit){
//XML Tree being used directly while it shouldn't be
- guide.getRepr()->setAttribute("label", label);
+ guide.getRepr()->setAttribute("inkscape:label", label);
}
}