summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d49eb1)
raw | patch | inline | side by side (parent: 3d49eb1)
author | pjrm <pjrm@users.sourceforge.net> | |
Mon, 6 Apr 2009 23:17:08 +0000 (23:17 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Mon, 6 Apr 2009 23:17:08 +0000 (23:17 +0000) |
src/extension/system.cpp | patch | blob | history | |
src/xml/repr-io.cpp | patch | blob | history | |
src/xml/repr.h | patch | blob | history |
index 390206f302141edef110c1fc1edc4213caeb8ede..6442f2f7eb3638dbc66508eef550f73ab663acdc 100644 (file)
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
Inkscape::XML::Node *repr = doc->root();
- /* sp_repr_print(repr); */
-
if (strcmp(repr->name(), INKSCAPE_EXTENSION_NS "inkscape-extension")) {
g_warning("Extension definition started with <%s> instead of <" INKSCAPE_EXTENSION_NS "inkscape-extension>. Extension will not be created. See http://wiki.inkscape.org/wiki/index.php/Extensions for reference.\n", repr->name());
return NULL;
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index b9d0816c8519bb4bab9d1e0d41c10cc35dddc9a9..adeac9735dde19f67ec8009535f16f16e5642f97 100644 (file)
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
return TRUE;
}
-void
-sp_repr_print (Node * repr)
-{
- Inkscape::IO::StdOutputStream bout;
- Inkscape::IO::OutputStreamWriter out(bout);
-
- sp_repr_write_stream (repr, out, 0, TRUE, GQuark(0), 0, 2);
-
- return;
-}
-
/* (No doubt this function already exists elsewhere.) */
static void
repr_quote_write (Writer &out, const gchar * val)
diff --git a/src/xml/repr.h b/src/xml/repr.h
index 162896c3f70105daaada88648f6bcd78f922141b..bbab619f0d656ce0866e3f72bd7e9a99ff28c4cf 100644 (file)
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
return ( repr ? repr->next() : NULL );
}
+
/* IO */
Inkscape::XML::Document *sp_repr_read_file(gchar const *filename, gchar const *default_ns);
void sp_repr_save_stream(Inkscape::XML::Document *doc, FILE *to_file, gchar const *default_ns=NULL, bool compress = false);
bool sp_repr_save_file(Inkscape::XML::Document *doc, gchar const *filename, gchar const *default_ns=NULL);
-void sp_repr_print(Inkscape::XML::Node *repr);
/* CSS stuff */