diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-11-25 08:46:19 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-11-25 08:46:19 +0000 |
| commit | ed8752817b2f935fc51a00e167e2f21e583194b8 (patch) | |
| tree | 6be763af98fe17e22aff5d45ad84a3c0b5a2b566 /src/extension/internal/gdkpixbuf-input.cpp | |
| parent | Implemented per-monitor display adjustment via XICC (diff) | |
| download | inkscape-ed8752817b2f935fc51a00e167e2f21e583194b8.tar.gz inkscape-ed8752817b2f935fc51a00e167e2f21e583194b8.zip | |
Warning cleanup
(bzr r4133)
Diffstat (limited to 'src/extension/internal/gdkpixbuf-input.cpp')
| -rw-r--r-- | src/extension/internal/gdkpixbuf-input.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp index b24bda8e9..9f3360bab 100644 --- a/src/extension/internal/gdkpixbuf-input.cpp +++ b/src/extension/internal/gdkpixbuf-input.cpp @@ -18,7 +18,7 @@ namespace Extension { namespace Internal { SPDocument * -GdkpixbufInput::open(Inkscape::Extension::Input *mod, char const *uri) +GdkpixbufInput::open(Inkscape::Extension::Input */*mod*/, char const *uri) { SPDocument *doc = sp_document_new(NULL, TRUE, TRUE); bool saved = sp_document_get_undo_sensitive(doc); @@ -55,8 +55,8 @@ GdkpixbufInput::open(Inkscape::Extension::Input *mod, char const *uri) // import as <image> repr = xml_doc->createElement("svg:image"); // both are the same, as we don't know our base dir here and cannot relativate href (importer will fixupHrefs): - repr->setAttribute("xlink:href", uri); - repr->setAttribute("sodipodi:absref", uri); + repr->setAttribute("xlink:href", uri); + repr->setAttribute("sodipodi:absref", uri); sp_repr_set_svg_double(repr, "width", width); sp_repr_set_svg_double(repr, "height", height); |
