diff options
| author | MenTaLguY <mental@rydia.net> | 2007-02-27 15:20:01 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-02-27 15:20:01 +0000 |
| commit | 03c942c587504ffbc78eed44bb32fded3286ab91 (patch) | |
| tree | 0b209cd63a3977e8dd9d3e1293dce4e295fd89a9 /src/sp-image.cpp | |
| parent | increase padding (diff) | |
| download | inkscape-03c942c587504ffbc78eed44bb32fded3286ab91.tar.gz inkscape-03c942c587504ffbc78eed44bb32fded3286ab91.zip | |
get rid of sp_repr_document_root and (commented) sp_repr_duplicate
(bzr r2461)
Diffstat (limited to 'src/sp-image.cpp')
| -rw-r--r-- | src/sp-image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
