diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 06:38:07 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 06:38:07 +0000 |
| commit | 4cd79453c07adefb912a4dbd0afb2e7c2722bd90 (patch) | |
| tree | 66389573099d623138a62cb88f082ccbadc0c11e /src/extension/internal/svg.cpp | |
| parent | SPDocument->Document (diff) | |
| download | inkscape-4cd79453c07adefb912a4dbd0afb2e7c2722bd90.tar.gz inkscape-4cd79453c07adefb912a4dbd0afb2e7c2722bd90.zip | |
SPDocument->Document
(bzr r8408)
Diffstat (limited to 'src/extension/internal/svg.cpp')
| -rw-r--r-- | src/extension/internal/svg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/internal/svg.cpp b/src/extension/internal/svg.cpp index a3589e905..317811088 100644 --- a/src/extension/internal/svg.cpp +++ b/src/extension/internal/svg.cpp @@ -138,13 +138,13 @@ _load_uri (const gchar *uri) /** \return A new document just for you! \brief This function takes in a filename of a SVG document and - turns it into a SPDocument. + turns it into a Document. \param mod Module to use \param uri The path to the file (UTF-8) This function is really simple, it just calls sp_document_new... */ -SPDocument * +Document * Svg::open (Inkscape::Extension::Input */*mod*/, const gchar *uri) { #ifdef WITH_GNOME_VFS @@ -157,7 +157,7 @@ Svg::open (Inkscape::Extension::Input */*mod*/, const gchar *uri) g_warning("Error: Could not open file '%s' with VFS\n", uri); return NULL; } - SPDocument * doc = sp_document_new_from_mem(buffer, strlen(buffer), 1); + Document * doc = sp_document_new_from_mem(buffer, strlen(buffer), 1); g_free(buffer); return doc; @@ -191,7 +191,7 @@ Svg::open (Inkscape::Extension::Input */*mod*/, const gchar *uri) all of this code. I just stole it. */ void -Svg::save(Inkscape::Extension::Output *mod, SPDocument *doc, gchar const *filename) +Svg::save(Inkscape::Extension::Output *mod, Document *doc, gchar const *filename) { g_return_if_fail(doc != NULL); g_return_if_fail(filename != NULL); |
