From 03c942c587504ffbc78eed44bb32fded3286ab91 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 27 Feb 2007 15:20:01 +0000 Subject: get rid of sp_repr_document_root and (commented) sp_repr_duplicate (bzr r2461) --- src/sp-image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-image.cpp') diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 0e92a1bcc..c5ed9117b 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -1053,7 +1053,7 @@ sp_image_repr_read_image (Inkscape::XML::Node * repr) if (pixbuf != NULL) return pixbuf; } else if (!g_path_is_absolute (filename)) { /* try to load from relative pos */ - docbase = sp_repr_document_root (repr->document())->attribute("sodipodi:docbase"); + docbase = repr->document()->root()->attribute("sodipodi:docbase"); if (!docbase) docbase = "."; fullname = g_build_filename(docbase, filename, NULL); pixbuf = Inkscape::IO::pixbuf_new_from_file( fullname, NULL ); -- cgit v1.2.3