diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index c1c4acae405cf64362c6bc6d3b4444c6477fec87..f9be549444d5986d804031f806a9f45edcf9c85a 100644 (file)
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
n = g_strdup(_("<no name found>"));
}
- GString *xs = SP_PX_TO_METRIC_STRING(style->font_size.computed, SP_DT_NAMEDVIEW(SP_ACTIVE_DESKTOP)->getDefaultMetric());
+ GString *xs = SP_PX_TO_METRIC_STRING(style->font_size.computed, sp_desktop_namedview(SP_ACTIVE_DESKTOP)->getDefaultMetric());
char *ret = ( SP_IS_TEXT_TEXTPATH(item)
? g_strdup_printf(_("<b>Text on path</b> (%s, %s)"), n, xs->str)