diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-21 21:58:15 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-21 21:58:15 +0000 |
| commit | bdde74bbab299f2ee448f1c55469c56a66fb01f7 (patch) | |
| tree | 45bccef1ec815708f9b54171e2d567344f155074 /src/dyna-draw-context.cpp | |
| parent | More cleaning. (diff) | |
| download | inkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.tar.gz inkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.zip | |
Removed some unused files; more refactoring in EventContext tree.
(bzr r11608.1.104)
Diffstat (limited to 'src/dyna-draw-context.cpp')
| -rw-r--r-- | src/dyna-draw-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index 0e9ed570c..233c27f10 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -222,16 +222,16 @@ void SPDynaDrawContext::setup() { } } -void SPDynaDrawContext::set(Inkscape::Preferences::Entry* val) { +void SPDynaDrawContext::set(const Inkscape::Preferences::Entry& val) { SPEventContext* ec = this; SPDynaDrawContext *ddc = SP_DYNA_DRAW_CONTEXT(ec); - Glib::ustring path = val->getEntryName(); + Glib::ustring path = val.getEntryName(); if (path == "tracebackground") { - ddc->trace_bg = val->getBool(); + ddc->trace_bg = val.getBool(); } else if (path == "keep_selected") { - ddc->keep_selected = val->getBool(); + ddc->keep_selected = val.getBool(); } else { //pass on up to parent class to handle common attributes. // if ( SP_COMMON_CONTEXT_CLASS(sp_dyna_draw_context_parent_class)->set ) { |
