From 73edade30f70b4c0ad94c9561b4e4ec0675465b0 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sun, 27 Oct 2013 00:00:51 +0200 Subject: Added some consts. (bzr r12729) --- src/sp-path.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sp-path.cpp') diff --git a/src/sp-path.cpp b/src/sp-path.cpp index b225f0735..563c5b326 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -66,11 +66,11 @@ gint SPPath::nodesInPath() const return _curve ? _curve->nodes_in_path() : 0; } -const char* SPPath::displayName() { +const char* SPPath::displayName() const { return _("Path"); } -gchar* SPPath::description() { +gchar* SPPath::description() const { int count = this->nodesInPath(); char *lpe_desc = g_strdup(""); @@ -100,7 +100,7 @@ gchar* SPPath::description() { return ret; } -void SPPath::convert_to_guides() { +void SPPath::convert_to_guides() const { if (!this->_curve) { return; } -- cgit v1.2.3