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-switch.cpp | |
| parent | fix crash (diff) | |
| download | inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.tar.gz inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.zip | |
Added some consts.
(bzr r12729)
Diffstat (limited to 'src/sp-switch.cpp')
| -rw-r--r-- | src/sp-switch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index fa97cde91..911357660 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -71,11 +71,11 @@ GSList *SPSwitch::_childList(bool add_ref, SPObject::Action action) { return g_slist_prepend (NULL, child); } -const char *SPSwitch::displayName() { +const char *SPSwitch::displayName() const { return _("Conditional Group"); } -gchar *SPSwitch::description() { +gchar *SPSwitch::description() const { gint len = this->getItemCount(); return g_strdup_printf( ngettext(_("of <b>%d</b> object"), _("of <b>%d</b> objects"), len), len); |
