diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 19:58:38 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 19:58:38 +0000 |
| commit | 6c78ab7deeea3b32791437ade35e8911e7c73c8e (patch) | |
| tree | 1392ce928e20bb52690af343f1a1f44dae2935b7 /src/ui/clipboard.cpp | |
| parent | Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelection (diff) | |
| download | inkscape-6c78ab7deeea3b32791437ade35e8911e7c73c8e.tar.gz inkscape-6c78ab7deeea3b32791437ade35e8911e7c73c8e.zip | |
Purge sp_desktop_namedview in favor of SPDesktop::getNamedView
(bzr r13810)
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 9275d3bde..310df419e 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -331,7 +331,7 @@ void ClipboardManagerImpl::copySymbol(Inkscape::XML::Node* symbol, gchar const* // Set a default style in <use> rather than <symbol> so it can be changed. use->setAttribute("style", style ); /* disable rev 13709 in rev 13806, following Bug 1365451, comments 13-16 - Inkscape::XML::Node *nv_repr = sp_desktop_namedview(SP_ACTIVE_DESKTOP)->getRepr(); + Inkscape::XML::Node *nv_repr = SP_ACTIVE_DESKTOP->getNamedView()->getRepr(); gdouble scale_units = Inkscape::Util::Quantity::convert(1, nv_repr->attribute("inkscape:document-units"), "px"); gchar *transform_str = sp_svg_transform_write(Geom::Scale(scale_units, scale_units)); use->setAttribute("transform", transform_str); |
