summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-02-04 06:49:51 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-02-04 06:49:51 +0000
commit157187379f241da2bb559f17e47b7d35b1684616 (patch)
treeb57fd53201e1e75a1864cd3c6fae98fb8fa3b8c5 /src
parentadded parameter to switch off auto alignment for engraving machines (diff)
downloadinkscape-157187379f241da2bb559f17e47b7d35b1684616.tar.gz
inkscape-157187379f241da2bb559f17e47b7d35b1684616.zip
Fix for Bug #1275146 (numerous messages of type unknown type: rdf:RDF).
Fixed bugs: - https://launchpad.net/bugs/1275146 (bzr r12995)
Diffstat (limited to 'src')
-rw-r--r--src/factory.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/factory.h b/src/factory.h
index d7f4cb2b9..7e466f95a 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -64,7 +64,12 @@ public:
if (it == this->_object_map.end()) {
//throw FactoryExceptions::TypeNotRegistered(id);
- g_warning("unknown type: %s", id.c_str());
+ if (!(id.empty() // comments, usually
+ or id == "rdf:RDF" // no SP node yet
+ or id == "inkscape:clipboard" // SP node not necessary
+ or id == "inkscape:_templateinfo")) {
+ g_warning("unknown type: %s", id.c_str());
+ }
return NULL;
}