summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2058adc)
raw | patch | inline | side by side (parent: 2058adc)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 26 Feb 2007 09:44:14 +0000 (09:44 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 26 Feb 2007 09:44:14 +0000 (09:44 +0000) |
src/sp-image.cpp | patch | blob | history |
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index 5f8b157181bf3da3420d858641a9b6bd3894d3dc..0e92a1bcc6b5caca9d7db559d659ac8252d3c064 100644 (file)
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
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 = sp_repr_document_root (repr->document())->attribute("sodipodi:docbase");
if (!docbase) docbase = ".";
fullname = g_build_filename(docbase, filename, NULL);
pixbuf = Inkscape::IO::pixbuf_new_from_file( fullname, NULL );