summaryrefslogtreecommitdiffstats
path: root/src/select-context.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-21 21:58:15 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-21 21:58:15 +0000
commitbdde74bbab299f2ee448f1c55469c56a66fb01f7 (patch)
tree45bccef1ec815708f9b54171e2d567344f155074 /src/select-context.cpp
parentMore cleaning. (diff)
downloadinkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.tar.gz
inkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.zip
Removed some unused files; more refactoring in EventContext tree.
(bzr r11608.1.104)
Diffstat (limited to 'src/select-context.cpp')
-rw-r--r--src/select-context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index a347bcd9e..365d2f905 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -171,11 +171,11 @@ void SPSelectContext::setup() {
}
}
-void SPSelectContext::set(Inkscape::Preferences::Entry* val) {
- Glib::ustring path = val->getEntryName();
+void SPSelectContext::set(const Inkscape::Preferences::Entry& val) {
+ Glib::ustring path = val.getEntryName();
if (path == "show") {
- if (val->getString() == "outline") {
+ if (val.getString() == "outline") {
this->_seltrans->setShow(Inkscape::SelTrans::SHOW_OUTLINE);
} else {
this->_seltrans->setShow(Inkscape::SelTrans::SHOW_CONTENT);