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/sp-text.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/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index a35a58bd9..1cd690729 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -38,7 +38,7 @@ #include "attributes.h" #include "document.h" #include "preferences.h" -#include "desktop-handles.h" +#include "desktop.h" #include "sp-namedview.h" #include "style.h" #include "inkscape.h" @@ -362,7 +362,7 @@ gchar* SPText::description() const { char *n = xml_quote_strdup( style->font_family.value ); Inkscape::Util::Quantity q = Inkscape::Util::Quantity(style->font_size.computed, "px"); - GString *xs = g_string_new(q.string(sp_desktop_namedview(SP_ACTIVE_DESKTOP)->display_units).c_str()); + GString *xs = g_string_new(q.string(SP_ACTIVE_DESKTOP->getNamedView()->display_units).c_str()); char const *trunc = ""; Inkscape::Text::Layout const *layout = te_get_layout((SPItem *) this); |
