summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-11-03 23:42:23 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-11-03 23:42:23 +0000
commit48ac54f0234671b23afeaad33af6168037ef552c (patch)
tree3a937530c745c958f8da1e788a8dfe94cff847d4 /src/sp-switch.cpp
parentUpdate to trunk (diff)
parentRemove antiquated Perl extensions and modules, which were mostly useless. (diff)
downloadinkscape-48ac54f0234671b23afeaad33af6168037ef552c.tar.gz
inkscape-48ac54f0234671b23afeaad33af6168037ef552c.zip
Update to trunk
(bzr r12588.1.25)
Diffstat (limited to 'src/sp-switch.cpp')
-rw-r--r--src/sp-switch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp
index fa97cde91..5c88d7af8 100644
--- a/src/sp-switch.cpp
+++ b/src/sp-switch.cpp
@@ -71,17 +71,17 @@ 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);
}
-void SPSwitch::child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref) {
+void SPSwitch::child_added(Inkscape::XML::Node* /*child*/, Inkscape::XML::Node* /*ref*/) {
this->_reevaluate(true);
}