From d17d1df6548e63f5b2d7ea3e265af511e770362f Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 4 Jul 2007 01:29:33 +0000 Subject: [PATCH] switch to using extract_uri --- src/sp-item.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 8a557f5d0..469b95222 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -62,6 +62,7 @@ #include "util/reverse-list.h" #include "xml/repr.h" +#include "extract-uri.h" #define noSP_ITEM_DEBUG_IDLE @@ -448,7 +449,7 @@ sp_item_set(SPObject *object, unsigned key, gchar const *value) break; } case SP_PROP_CLIP_PATH: { - gchar *uri = Inkscape::parse_css_url(value); + gchar *uri = extract_uri(value); if (uri) { try { item->clip_ref->attach(Inkscape::URI(uri)); @@ -464,7 +465,7 @@ sp_item_set(SPObject *object, unsigned key, gchar const *value) break; } case SP_PROP_MASK: { - gchar *uri=Inkscape::parse_css_url(value); + gchar *uri = extract_uri(value); if (uri) { try { item->mask_ref->attach(Inkscape::URI(uri)); -- 2.30.2