summaryrefslogtreecommitdiffstats
path: root/src/select-context.cpp
diff options
context:
space:
mode:
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);