summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-07-09 20:42:04 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-07-09 20:42:04 +0000
commit9dc7b786c9ef31060012ea4ae13a8188548b4f62 (patch)
treef8b063fe5b6da450ba252f2275aa342e2627b420 /src/ui/widget/selected-style.cpp
parentSwitch setWidth and setHeight to use Quantity and switch to forward declarati... (diff)
downloadinkscape-9dc7b786c9ef31060012ea4ae13a8188548b4f62.tar.gz
inkscape-9dc7b786c9ef31060012ea4ae13a8188548b4f62.zip
Ported sp-namedview.cpp (todo: fix a bunch of things).
(bzr r12380.1.8)
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 18dbb984b..d6e2406c9 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -476,7 +476,7 @@ SelectedStyle::setDesktop(SPDesktop *desktop)
this )
));
- _sw_unit = const_cast<SPUnit*>(sp_desktop_namedview(desktop)->doc_units);
+ //_sw_unit = const_cast<SPUnit*>(sp_desktop_namedview(desktop)->doc_units);
// Set the doc default unit active in the units list
gint length = g_slist_length(_unit_mis);