From bdde74bbab299f2ee448f1c55469c56a66fb01f7 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sun, 21 Apr 2013 23:58:15 +0200 Subject: Removed some unused files; more refactoring in EventContext tree. (bzr r11608.1.104) --- src/select-context.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/select-context.cpp') 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); -- cgit v1.2.3