diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-10-26 22:00:51 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-10-26 22:00:51 +0000 |
| commit | 73edade30f70b4c0ad94c9561b4e4ec0675465b0 (patch) | |
| tree | de55f48e427afc5faf8fb97467a8f79b86820b0f /src/sp-path.cpp | |
| parent | fix crash (diff) | |
| download | inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.tar.gz inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.zip | |
Added some consts.
(bzr r12729)
Diffstat (limited to 'src/sp-path.cpp')
| -rw-r--r-- | src/sp-path.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
