diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-26 22:31:12 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-26 22:31:12 +0000 |
| commit | bfb70c0a66051c665b8729916eceedb3cd7f51f8 (patch) | |
| tree | 3bc3e44d7b83526900175b5e86bbc1afeeab86f4 /src/sp-spiral.cpp | |
| parent | Update to trunk (diff) | |
| parent | Added some consts. (diff) | |
| download | inkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.tar.gz inkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.zip | |
Update to trunk
(bzr r11950.1.190)
Diffstat (limited to 'src/sp-spiral.cpp')
| -rw-r--r-- | src/sp-spiral.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp index 56aca507f..ffb875f2a 100644 --- a/src/sp-spiral.cpp +++ b/src/sp-spiral.cpp @@ -226,11 +226,11 @@ void SPSpiral::update_patheffect(bool write) { this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); } -const char* SPSpiral::displayName() { +const char* SPSpiral::displayName() const { return _("Spiral"); } -gchar* SPSpiral::description() { +gchar* SPSpiral::description() const { // TRANSLATORS: since turn count isn't an integer, please adjust the // string as needed to deal with an localized plural forms. return g_strdup_printf (_("with %3f turns"), this->revo); @@ -413,7 +413,7 @@ void SPSpiral::setPosition(gdouble cx, gdouble cy, gdouble exp, gdouble revo, gd this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); } -void SPSpiral::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) { +void SPSpiral::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const { // We will determine the spiral's midpoint ourselves, instead of trusting on the base class // Therefore snapping to object midpoints is temporarily disabled Inkscape::SnapPreferences local_snapprefs = *snapprefs; |
