summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-12-21 19:58:38 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-12-21 19:58:38 +0000
commit6c78ab7deeea3b32791437ade35e8911e7c73c8e (patch)
tree1392ce928e20bb52690af343f1a1f44dae2935b7 /src/ui/widget/selected-style.cpp
parentDeprecate and remove sp_desktop_selection in favor of SPDesktop::getSelection (diff)
downloadinkscape-6c78ab7deeea3b32791437ade35e8911e7c73c8e.tar.gz
inkscape-6c78ab7deeea3b32791437ade35e8911e7c73c8e.zip
Purge sp_desktop_namedview in favor of SPDesktop::getNamedView
(bzr r13810)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp
index ec3194478..dc329c3ce 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -498,7 +498,7 @@ SelectedStyle::setDesktop(SPDesktop *desktop)
this )
));
- _sw_unit = sp_desktop_namedview(desktop)->display_units;
+ _sw_unit = desktop->getNamedView()->display_units;
// Set the doc default unit active in the units list
gint length = g_slist_length(_unit_mis);