summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-11-05 22:37:54 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-11-05 22:37:54 +0000
commit8fe8df064850bdaf5cd0c6015430c4b12132c8ab (patch)
tree2ef547a667ff1f1a3ba8fc66dc8350b5ae3c4089 /src/style.cpp
parentReplacement for xmlBuildRelativeURI (diff)
downloadinkscape-8fe8df064850bdaf5cd0c6015430c4b12132c8ab.tar.gz
inkscape-8fe8df064850bdaf5cd0c6015430c4b12132c8ab.zip
remove Inkscape::URI::toString
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 802cfb22d..6c7e849dc 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1221,10 +1221,9 @@ sp_style_set_ipaint_to_uri_string (SPStyle *style, SPIPaint *paint, const gchar
}
// Called in: desktop-style.cpp
-void
-sp_style_set_to_uri_string (SPStyle *style, bool isfill, const gchar *uri)
+void sp_style_set_to_uri(SPStyle *style, bool isfill, Inkscape::URI const *uri)
{
- sp_style_set_ipaint_to_uri_string (style, isfill? &style->fill : &style->stroke, uri);
+ sp_style_set_ipaint_to_uri(style, isfill ? &style->fill : &style->stroke, uri, style->document);
}
// Called in: widgets/font-selector.cpp, widgets/text-toolbar.cpp, ui/dialog/text-edit.cpp